From f3c6ca6e4054d86b8ba723a12b7f74e855496d03 Mon Sep 17 00:00:00 2001 From: Alessio Gallitano <25105748+galales@users.noreply.github.com> Date: Wed, 4 Sep 2024 16:25:49 +0200 Subject: [PATCH] PIN-5222: MissingCertifiedAttributes events not converted correctly (#941) --- .../src/models/agreement/agreementEventNotificationMappers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/notifier-seeder/src/models/agreement/agreementEventNotificationMappers.ts b/packages/notifier-seeder/src/models/agreement/agreementEventNotificationMappers.ts index 47064ff261..4a8da62b0f 100644 --- a/packages/notifier-seeder/src/models/agreement/agreementEventNotificationMappers.ts +++ b/packages/notifier-seeder/src/models/agreement/agreementEventNotificationMappers.ts @@ -23,7 +23,7 @@ export const toAgreementStateV1Notification = (input: AgreementState): string => .with(agreementState.active, () => "Active") .with( agreementState.missingCertifiedAttributes, - () => "MissingCertifiedAttribute" + () => "MissingCertifiedAttributes" ) .with(agreementState.rejected, () => "Rejected") .exhaustive();