homebridge-tauron-elicznik 0.0.3-beta.6 → 0.0.3-beta.7
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -176,7 +176,7 @@ class eLicznikDevice {
|
|
176
176
|
};
|
177
177
|
|
178
178
|
const token = Buffer.from(`${this.user}:${this.passwd}`, 'utf8').toString('base64')
|
179
|
-
const login = axios.post(LOGIN_URL, {
|
179
|
+
const login = await axios.post(LOGIN_URL, {
|
180
180
|
headers: {
|
181
181
|
'Authorization': `Basic ${token}`
|
182
182
|
}
|
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.3-beta.
|
4
|
+
"version": "0.0.3-beta.7",
|
5
5
|
"description": "Homebridge plugin (https://github.com/homebridge/homebridge) to read data from Tauron eLicznik.",
|
6
6
|
"license": "MIT",
|
7
7
|
"author": "grzegorz914",
|