homebridge-melcloud-control 4.0.0-beta.312 → 4.0.0-beta.313

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.312",
4
+ "version": "4.0.0-beta.313",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
@@ -163,7 +163,7 @@ class MelCloudHomeToken extends EventEmitter {
163
163
  form.append('_csrf', csrf);
164
164
 
165
165
  // Step 3: Wyślij POST z danymi logowania
166
- const postResp = await axios.post(this.loginUrl, form.toString(), {
166
+ const postResp = await axios.post(url, form.toString(), {
167
167
  headers: {
168
168
  'Content-Type': 'application/x-www-form-urlencoded',
169
169
  'Cookie': cookies.join('; '),