1
0
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:
Clark Winkelmann 2019-05-01 23:05:25 +02:00
parent ecc3b5e227
commit 7a44086bf3
No known key found for this signature in database
GPG Key ID: AC336FBC86CCD80B

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