homebridge-tauron-elicznik 0.0.2-beta72 → 0.0.2-beta73

Sign up to get free protection for your applications and to get access to all the features.
package/index.js CHANGED
@@ -135,7 +135,6 @@ class eLicznikDevice {
135
135
  this.energyExport = 0;
136
136
 
137
137
  const data = {
138
- log: this.log,
139
138
  username: this.user,
140
139
  password: this.passwd,
141
140
  service: SERVICE_URL
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-beta72",
4
+ "version": "0.0.2-beta73",
5
5
  "description": "Homebridge plugin (https://github.com/homebridge/homebridge) to read data from Tauron eLicznik.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
package/src/tauronAuth.js CHANGED
@@ -8,7 +8,6 @@ class axiosTauronAuth {
8
8
  constructor({
9
9
  data
10
10
  }) {
11
- this.log = data.log;
12
11
  this.username = data.username;
13
12
  this.password = data.password;
14
13
  }
@@ -26,9 +25,8 @@ class axiosTauronAuth {
26
25
  };
27
26
  const response = await axios.post(LOGIN_URL, options);
28
27
  console.log('aaaaaaaaa', response.data);
29
- returnUrl = response.data;
30
28
 
31
- return returnUrl;
29
+ return response.data;
32
30
  } catch (err) {
33
31
  return err
34
32
  }