sdk_csharp
sdk_csharp copied to clipboard
Wrong return type for NotificationFilterUrlUser.List()
trafficstars
Steps to reproduce:
Calling NotificationFilterUrlUser.List()
What should happen:
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.
SDK version and environment
- Tested on 0.12.4
- [x] Sandbox
- [ ] Production