diff --git a/src/auth_strategy/TokenAuthStrategy.ts b/src/auth_strategy/TokenAuthStrategy.ts index 0d9a79388..0f82d8365 100644 --- a/src/auth_strategy/TokenAuthStrategy.ts +++ b/src/auth_strategy/TokenAuthStrategy.ts @@ -35,7 +35,7 @@ export default class TokenAuthStrategy extends AuthStrategy { ) { return this.tokenManager.fetchToken(); } - return this.token; + return Promise.resolve(this.token); } /**