|
@@ -43,6 +43,7 @@ class NotificationCollection extends ResourceCollection
|
|
$row = [
|
|
$row = [
|
|
'id' => $item->id,
|
|
'id' => $item->id,
|
|
'object_type' => $item->object_type,
|
|
'object_type' => $item->object_type,
|
|
|
|
+ 'created_at'=>(string)$item->created_at,
|
|
'content' => $item->content,
|
|
'content' => $item->content,
|
|
'read_at' => (string)$item->read_at,
|
|
'read_at' => (string)$item->read_at,
|
|
'read_status' => (bool)$item->read_at,
|
|
'read_status' => (bool)$item->read_at,
|