XeroAPI / xero-php-oauth2

Xero PHP SDK for oAuth 2 generated from Xero API OpenAPI Spec 3.0
MIT License
91 stars 65 forks source link

Fix incorrect host for Files API #213

Closed IanSimpson closed 3 years ago

IanSimpson commented 3 years ago

This was pointing to https://api.xero.com/file.xro/1.0, according to docs (and testing) should be https://api.xero.com/files.xro/1.0 (with an s). Presumably this has never worked, and more worryingly, never been tested.

SidneyAllen commented 3 years ago

Thanks for catching this. It was tested, but missed update in template. Merging your PR and update made to template for future code generation.