diff --git a/src/index.js b/src/index.js index f33578b..aea5194 100644 --- a/src/index.js +++ b/src/index.js @@ -334,8 +334,7 @@ module.exports = class WyzeAPI { if (!result.ok || !result.data.access_token) { throw new Error( result - )}` - ); + )} } if (this.apiLogEnabled) { @@ -343,7 +342,6 @@ module.exports = class WyzeAPI { } await this._updateTokens(result.data); } - } async maybeLogin() { if (!this.access_token) {