mirror of
https://github.com/flarum/framework.git
synced 2025-02-11 20:33:59 +08:00
Merge pull request #1780 from clarkwinkelmann/remove-notification-id
Remove notification id from serializer attributes
This commit is contained in:
commit
d10a9aa6f7
|
@ -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…
Reference in New Issue
Block a user