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

Fix params for getOrders method #21

Merged
merged 1 commit into from
Oct 3, 2017
Merged

Fix params for getOrders method #21

merged 1 commit into from
Oct 3, 2017

Conversation

pvomhoff
Copy link

@pvomhoff pvomhoff commented Oct 3, 2017

All parameters for getOrder like filter and skip are send via the query parameter.

The params parameter doesn't exist in the request module.
So the parameters was not working at all.
See: https://github.com/request/request/tree/v2.81.0#requestoptions-callback

I replaced the params with qs

@apertureless
Copy link
Owner

Hey @pvomhoff
Thanks for this one. To be honest, I never really used the params, so missed this out 😞

@apertureless apertureless merged commit 70851b1 into apertureless:master Oct 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants