fix: Remove unnecessary attributes from notification deleted action cable event payload (#9295)
fix: simplify notification deleted payload event
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user