fix: mutable reference issue
This commit is contained in:
parent
b57d12a400
commit
02ce8bd5b4
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue