From 07560831f8989adec44275f7892c32c5118ca85b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9rard=20Dethier?= Date: Fri, 24 May 2024 10:57:07 +0200 Subject: [PATCH] feat: fix notitications. --- src/logion/controllers/locrequest.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logion/controllers/locrequest.controller.ts b/src/logion/controllers/locrequest.controller.ts index fc16058..7b86573 100644 --- a/src/logion/controllers/locrequest.controller.ts +++ b/src/logion/controllers/locrequest.controller.ts @@ -1606,7 +1606,7 @@ export class LocRequestController extends ApiController { const description = request.getDescription(); const userIdentity = requireDefined(description.userIdentity); this.getNotificationInfo(description, userIdentity) - .then(info => this.notificationService.notify(info.legalOfficerEMail, "recoverable-secret-added", { + .then(info => this.notificationService.notify(userIdentity.email, "recoverable-secret-added", { ...info.data, secretName: name, }))