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

✨ Support new API version error format #53

Merged
merged 2 commits into from
Jun 7, 2023
Merged

Conversation

amcintosh
Copy link
Owner

While FreshBooks API versions are not yet documented, the recent versions (2022-10-31 and forward) feature a slightly different response format when some /accounting endpoints fail.

Update the accounting handlers to handle both formats.

While FreshBooks API versions are not yet documented, the recent versions (2022-10-31 and forward) feature a slightly different response format when some /accounting endpoints fail.

Update the accounting handlers to handle both formats.
Latest dependencies complain about the type being returned. This returns
a stream of the mock content and also removes an unneccessary mock.
@amcintosh amcintosh merged commit 3e74004 into main Jun 7, 2023
@amcintosh amcintosh deleted the new-error-format branch June 7, 2023 13:32
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.

1 participant