amcintosh / freshbooks-java-sdk

FreshBooks API wrapper
MIT License
2 stars 2 forks source link

✨ Support new API version error format #42

Closed amcintosh closed 1 year ago

amcintosh commented 1 year ago

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.

Fixes #41