From 05eec3fef12b830ae694b35c615dcadb98c637ae Mon Sep 17 00:00:00 2001 From: Patrick Pimentel Date: Wed, 20 Aug 2025 19:37:54 -0400 Subject: [PATCH] fix(browser-approval): [PM-23620] Auth Request Answering Service - Updated email for user code. --- .../auth-request-answering/auth-request-answering.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/common/src/auth/services/auth-request-answering/auth-request-answering.service.ts b/libs/common/src/auth/services/auth-request-answering/auth-request-answering.service.ts index 460cc16122d..3724fd798c2 100644 --- a/libs/common/src/auth/services/auth-request-answering/auth-request-answering.service.ts +++ b/libs/common/src/auth/services/auth-request-answering/auth-request-answering.service.ts @@ -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}`,