Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong return type for NotificationFilterUrlUser.List() #131

Open
1 of 2 tasks
mbedeker opened this issue Nov 13, 2019 · 0 comments
Open
1 of 2 tasks

Wrong return type for NotificationFilterUrlUser.List() #131

mbedeker opened this issue Nov 13, 2019 · 0 comments

Comments

@mbedeker
Copy link

mbedeker commented Nov 13, 2019

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
  • Sandbox
  • Production
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant