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

getOpenOrders - fix validation #803

Merged
merged 3 commits into from
Oct 11, 2024
Merged

getOpenOrders - fix validation #803

merged 3 commits into from
Oct 11, 2024

Conversation

omniwolf
Copy link
Contributor

Removed the validation requirement that primary and secondary currencies are required in the arguments for this endpoint, and increased the page size max to 100.

See here:
https://www.independentreserve.com/au/features/api#GetOpenOrders

Let's get it up to date
Possibly when this was written the primary and secondary currencies were mandatory arguments when pulling the getOpenOrders endpoint, but they are not mandatory anymore, so I have removed this validation restriction.

Also, the max size of a page is now 100.  See here for confirmation:

https://www.independentreserve.com/au/features/api#GetOpenOrders
Fix tests now that primary and secondary currencies are not mandatory parameters, and max page size is 100
Copy link

codecov bot commented Sep 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (8f445dc) to head (bb9a918).
Report is 4 commits behind head on develop.

Additional details and impacted files
@@            Coverage Diff            @@
##           develop      #803   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           63        63           
  Lines          577       577           
=========================================
  Hits           577       577           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@davesag davesag merged commit 4b02bf2 into davesag:develop Oct 11, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants