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

Eluvio Wallet Client, UserItems defaults for sortBy result in a bad request #171

Open
elv-gerald opened this issue Sep 1, 2022 · 0 comments
Assignees

Comments

@elv-gerald
Copy link

I noticed in my tests when calling UserItems with the default value for sortBy the server returns a 400 Bad Request error. The docs indicate the default value for sortBy is created
https://core.test.contentfabric.io/elv-client-js/wallet-client/module-ClientMethods.html#.UserItems

walletClient.UserItems() ends up calling https://host-66-220-3-86.contentfabric.io/as/wlt/0xf2737c8669093db6005f6f2c4c3ef1029a63a61a?start=0&limit=50&sort_descending=false&sort_by=created

I poked around the wallet front end and noticed that sort_by uses default. Should the defaults and docs be updated for this?

walletClient.UserItems({sortBy: 'default'}) works

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

3 participants