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

date range in getAccountStatement not working correctly #68

Open
Soccerama opened this issue May 10, 2023 · 0 comments
Open

date range in getAccountStatement not working correctly #68

Soccerama opened this issue May 10, 2023 · 0 comments

Comments

@Soccerama
Copy link
Contributor

Received this on another forum:
I've been messing about with the getAccountStatement function lately trying to work out why it always goes back 90 days when I just want the last 24 hrs worth of activity. It seems that the function isn't passing the date range I specify as the correct variable. In the function there are these two lines to set the date range:

getAccStatOps$params$daterange$from <- fromDate
getAccStatOps$params$daterange$to <- toDate

But according to the API docs the parameter should be called itemDateRange not daterange. Changing the parameter name speeds up the call by a lot!

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