homebridge-melcloud-control 4.0.0-beta.346 → 4.0.0-beta.347

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.346",
4
+ "version": "4.0.0-beta.347",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
@@ -138,7 +138,7 @@ class MelCloudHomeToken extends EventEmitter {
138
138
  if (this.logWarn) this.emit('warn', `Redirect URL: ${url}`);
139
139
 
140
140
  // Step 3: Wyślij POST z danymi logowania
141
- const response = await axios.post(url, form.toString(), {
141
+ const response = await axios.post(url, formData.toString(), {
142
142
  headers: {
143
143
  'User-Agent': MOBILE_USER_AGENT,
144
144
  'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',