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:
@@ -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}`,
|
||||
|
||||
Reference in New Issue
Block a user