homebridge-melcloud-control 4.0.0-beta.352 → 4.0.0-beta.353

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "4.0.0-beta.352",
4
+ "version": "4.0.0-beta.353",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
@@ -168,7 +168,7 @@ class MelCloudHomeToken extends EventEmitter {
168
168
  withCredentials: true,
169
169
  });
170
170
 
171
- if (this.logWarn) this.emit('warn', `ResponseL: ${getResp}`);
171
+ if (this.logWarn) this.emit('warn', `ResponseL: ${getResp.data}, ${getResp.headers}`);
172
172
 
173
173
  const match = redirectUrl.match(/[?&]code=([^&]+)/);
174
174
  if (match) {