diff --git a/src/domain/in-app-notification-receiver/in.app.notification.receiver.ts b/src/domain/in-app-notification-receiver/in.app.notification.receiver.ts index e2838be0e..0d6de8bcb 100644 --- a/src/domain/in-app-notification-receiver/in.app.notification.receiver.ts +++ b/src/domain/in-app-notification-receiver/in.app.notification.receiver.ts @@ -83,9 +83,10 @@ export class InAppNotificationReceiver { const decompressInAppNotifications = ( data: CompressedInAppNotificationPayload ): InAppNotificationPayload[] => { - const { receiverIDs, ...rest } = data; + const { receiverIDs, triggeredAt, ...rest } = data; return receiverIDs.map(receiverID => ({ ...rest, + triggeredAt: new Date(triggeredAt), receiverID, })); };