You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should have BunqResponse<List<NotificationFilterUrl>> as a return type. not BunqResponse<List<NotificationFilterUrlUser>>
What happens:
NotificationFilterUrlUser.List() Serializes the response to a List<NotificationFilterUrlUser>, but the response of the endpoint gives a List<NotificationFilterUrl> back.
So if there are notification filters registered, then it serializes to an array of empty objects. I've tested this by changing the returnvalue of the NotificationFilterUrlUser.List() to a BunqResponse<List<NotificationFilterUrl>>, and then there are actual values returned.
Steps to reproduce:
Calling
NotificationFilterUrlUser.List()
What should happen:
It should have
BunqResponse<List<NotificationFilterUrl>>
as a return type. notBunqResponse<List<NotificationFilterUrlUser>>
What happens:
NotificationFilterUrlUser.List()
Serializes the response to aList<NotificationFilterUrlUser>
, but the response of the endpoint gives aList<NotificationFilterUrl>
back.So if there are notification filters registered, then it serializes to an array of empty objects. I've tested this by changing the returnvalue of the
NotificationFilterUrlUser.List()
to aBunqResponse<List<NotificationFilterUrl>>
, and then there are actual values returned.SDK version and environment
The text was updated successfully, but these errors were encountered: