Skip to content

Commit

Permalink
Merge pull request #1 from Poket-Jony/patch-1
Browse files Browse the repository at this point in the history
updated uid to new format
  • Loading branch information
joostth committed Aug 24, 2018
2 parents 959f660 + cc6d544 commit 8d6062b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Expand Up @@ -57,6 +57,7 @@ class EcoVacsAPI {
this.auth_code = token['authCode'];
this.__call_login_by_it_token().then((login) => {
this.user_access_token = login['token'];
this.uid = login['userId'];
envLog("[EcoVacsAPI] EcoVacsAPI connection complete");
resolve("ready");
}).catch((e) => {
Expand Down Expand Up @@ -774,4 +775,4 @@ module.exports.GetBatteryState = GetBatteryState;
module.exports.GetLifeSpan = GetLifeSpan;
module.exports.SetTime = SetTime;
module.exports.isObject = isObject;
module.exports.countries = countries;
module.exports.countries = countries;

0 comments on commit 8d6062b

Please sign in to comment.