1
0
mirror of https://github.com/flarum/core.git synced 2025-07-25 10:41:24 +02:00

Remove notification id from serializer attributes

This commit is contained in:
Clark Winkelmann
2019-05-01 23:05:25 +02:00
parent 4ea1b80ac1
commit 89e8823404

View File

@@ -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),