From 02ce8bd5b4a85143f3dad1e2ae9b980ae7534f79 Mon Sep 17 00:00:00 2001 From: Nathan Lamy Date: Tue, 24 Feb 2026 23:07:40 +0100 Subject: [PATCH] fix: mutable reference issue --- app/services/notification_service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/notification_service.ts b/app/services/notification_service.ts index 3a38ae4..6ab4c46 100644 --- a/app/services/notification_service.ts +++ b/app/services/notification_service.ts @@ -49,7 +49,7 @@ export class NotificationService { if (notificationId === 'ROOM_UPDATED') { await colle.load('room') } - const payload = Object.assign(DEFAULT_NOTIFICATION, NOTIFICATIONS[notificationId](colle, args)) + const payload = Object.assign({}, DEFAULT_NOTIFICATION, NOTIFICATIONS[notificationId](colle, args)) const subscriptions = await Subscription.query() .where('enabled', true)