Skip to content

Commit

Permalink
updated uid to new format
Browse files Browse the repository at this point in the history
  • Loading branch information
Poket-Jony committed Aug 22, 2018
1 parent 959f660 commit cc6d544
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
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 cc6d544

Please sign in to comment.