homebridge-tauron-elicznik 0.0.2-beta80 → 0.0.2-beta81

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.
Files changed (2) hide show
  1. package/index.js +2 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -198,9 +198,10 @@ class eLicznikDevice {
198
198
  service: SERVICE_URL
199
199
  };
200
200
  const options = {
201
+ method: 'POST',
201
202
  data: data
202
203
  };
203
- const response = await axios.post(LOGIN_URL, options);
204
+ const response = await axios.post(LOGIN_URL, data);
204
205
 
205
206
  //const response = await this.tauronAuth.request(url);
206
207
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "Tauron eLicznik",
3
3
  "name": "homebridge-tauron-elicznik",
4
- "version": "0.0.2-beta80",
4
+ "version": "0.0.2-beta81",
5
5
  "description": "Homebridge plugin (https://github.com/homebridge/homebridge) to read data from Tauron eLicznik.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",