mirror of
https://github.com/flarum/framework.git
synced 2025-03-15 00:05:12 +08:00
Merge pull request #1780 from clarkwinkelmann/remove-notification-id
Remove notification id from serializer attributes
This commit is contained in:
commit
8b7db726dc
@ -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