1
0
mirror of https://github.com/flarum/core.git synced 2025-07-28 12:10:51 +02:00

Remove notification id from serializer attributes

This commit is contained in:
Clark Winkelmann
2019-05-01 23:05:25 +02:00
parent ecc3b5e227
commit 7a44086bf3

View File

@@ -44,7 +44,6 @@ class NotificationSerializer extends AbstractSerializer
} }
return [ return [
'id' => (int) $notification->id,
'contentType' => $notification->type, 'contentType' => $notification->type,
'content' => $notification->data, 'content' => $notification->data,
'createdAt' => $this->formatDate($notification->created_at), 'createdAt' => $this->formatDate($notification->created_at),