-
Notifications
You must be signed in to change notification settings - Fork 161
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
Error with AccountingApi.getJournals endpoint #412
Comments
Thanks @TheWass - good find. You are correct that is generated code! I will duplicate this to get a fix in asap. Mid next week expect a reply to this threa. |
Got a PR up for this. Need to ensure it does not cause issues across other SDK's but next week (mid-week) will be deployed NPM and in master.
|
Same problem in sample app when clicking banktransfers.
|
Thanks all - fixed in recent release of #415 as version 4.5.2 |
SDK you're using (please complete the following information):
Describe the bug
An error occurs when calling getJournals on the accountingApi object.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should return the requested journal entries.
Additional context
I did a little investigation: The JournalNumber is the culprit. It comes down as a number, rather than a string. Since it is a number, it does not have the substring function, causing the error. It looks like this is generated code, so I don't know if a pull request would help, but I'd be happy to make one.
The text was updated successfully, but these errors were encountered: