Mangopay / mangopay2-php-sdk

PHP SDK for MANGOPAY
https://packagist.org/packages/mangopay/php-sdk-v2
MIT License
123 stars 134 forks source link

Listing all UBO declarations by DESC only returns one UBO per declaration #497

Closed gburning closed 3 years ago

gburning commented 3 years ago

I'm not sure whether this is a problem with the API or SDK but when I try to fetch all UBO declarations ($api->UboDeclarations->GetAll) sorted by CreationDate:desc, the response only contains one UBO per declaration.

This does not happen when using ascending sorting.

Using 3.3.0.

gburning commented 3 years ago

Sorry, it turns out this was completely a mistake on my part and not a fault of the SDK nor the API.