|
@@ -34,7 +34,6 @@ class NotificationCollection extends ResourceCollection
|
|
|
'created_by' => new UserProfileResource($action->createdBy),
|
|
|
'comment' => $action->commtent,
|
|
|
'object_type' => $action->object_type,
|
|
|
- 'display_id'=>$action->display_id,
|
|
|
'object' => [
|
|
|
'id' => $action->object_id,
|
|
|
'name' => data_get($actionGroupObjects, sprintf("%s.%s", $action->object_type, $action->object_id)),
|
|
@@ -48,6 +47,7 @@ class NotificationCollection extends ResourceCollection
|
|
|
'content' => $item->content,
|
|
|
'read_at' => (string)$item->read_at,
|
|
|
'read_status' => (bool)$item->read_at,
|
|
|
+ 'display_id'=>$item->display_id,
|
|
|
'object' => $object,
|
|
|
];
|
|
|
$items[] = $row;
|