1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-10 21:50:15 +00:00

Test updates

This commit is contained in:
Todd Martin
2025-11-22 16:10:37 -05:00
parent 11c543c8fb
commit bf07b5a963
2 changed files with 580 additions and 452 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -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);