If not authentication details aren't set, this.request won't be defined. This causes following error:
TypeError: Cannot call method 'get' of undefined at Gateway. (/usr/local/lib/node_modules/homebridge-punt/gateway.js:219:18)
The committed fix makes sure this.request will be defined even without auth details.
If not authentication details aren't set, this.request won't be defined. This causes following error: TypeError: Cannot call method 'get' of undefined at Gateway. (/usr/local/lib/node_modules/homebridge-punt/gateway.js:219:18)
The committed fix makes sure this.request will be defined even without auth details.