mirror of
https://github.com/flarum/core.git
synced 2025-02-24 11:13:40 +01:00
Remove notification id from serializer attributes
This commit is contained in:
parent
ecc3b5e227
commit
7a44086bf3
@ -44,7 +44,6 @@ class NotificationSerializer extends AbstractSerializer
|
||||
}
|
||||
|
||||
return [
|
||||
'id' => (int) $notification->id,
|
||||
'contentType' => $notification->type,
|
||||
'content' => $notification->data,
|
||||
'createdAt' => $this->formatDate($notification->created_at),
|
||||
|
Loading…
x
Reference in New Issue
Block a user