1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-05 11:13:44 +00:00

fix(browser-approval): [PM-23620] Auth Request Answering Service - Updated email for user code.

This commit is contained in:
Patrick Pimentel
2025-08-20 19:37:54 -04:00
parent f30410f404
commit 05eec3fef1

View File

@@ -57,7 +57,7 @@ export class AuthRequestAnsweringService implements AuthRequestAnsweringServiceA
} else {
// Get the user's email to include in the system notification
const accounts = await firstValueFrom(this.accountService.accounts$);
const emailForUser = accounts?.[userId]?.email;
const emailForUser = accounts[userId].email;
await this.systemNotificationsService.create({
id: `${SystemNotificationPrefixes.AuthRequest}_${authRequestId}`,