mirror of
https://github.com/bitwarden/browser
synced 2026-02-10 21:50:15 +00:00
Test updates
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1301,7 +1301,7 @@ export class ApiService implements ApiServiceAbstraction {
|
||||
}
|
||||
}
|
||||
|
||||
async getActiveBearerToken(userId: UserId): Promise<string | null> {
|
||||
async getActiveBearerToken(userId: UserId): Promise<string> {
|
||||
let accessToken = await this.tokenService.getAccessToken(userId);
|
||||
if (await this.tokenService.tokenNeedsRefresh(userId)) {
|
||||
accessToken = await this.refreshToken(userId);
|
||||
|
||||
Reference in New Issue
Block a user