XeroAPI / xero-php-oauth2

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

Incorrect variable set in lib/Configuration::setHostFinance #286

Closed filliph closed 2 years ago

filliph commented 2 years ago

SDK you're using (please complete the following information):

Describe the bug /lib/Configuration.php :: setHostFinance tries to set an invalid variable.

To Reproduce Steps to reproduce the behavior:

  1. Click https://github.com/XeroAPI/xero-php-oauth2/blob/master/lib/Configuration.php#L354
  2. See wrong variable being set

Expected behavior $hostFinance to be used instead.