1
0
mirror of https://github.com/flarum/core.git synced 2025-10-12 15:34:26 +02:00

Rename notification.time

This commit is contained in:
Toby Zerner
2018-08-24 21:40:33 +09:30
parent ce39bc9070
commit 5c0c2d1c40
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ class NotificationSerializer extends AbstractSerializer
'id' => (int) $notification->id,
'contentType' => $notification->type,
'content' => $notification->data,
'time' => $this->formatDate($notification->created_at),
'createdAt' => $this->formatDate($notification->created_at),
'isRead' => (bool) $notification->read_at
];
}