fix: Remove unnecessary attributes from notification deleted action cable event payload (#9295)

fix: simplify notification deleted payload event
This commit is contained in:
Muhsin Keloth
2024-04-25 11:25:19 +05:30
committed by GitHub
parent 9086650fe2
commit 1bf3ad9a08
2 changed files with 4 additions and 2 deletions

View File

@@ -142,7 +142,9 @@ describe ActionCableListener do
'notification.deleted',
{
account_id: notification.account_id,
notification: notification.push_event_data,
notification: {
id: notification.id
},
unread_count: 1,
count: 1
}