diff --git a/framework/core/src/Api/Actions/Notifications/IndexAction.php b/framework/core/src/Api/Actions/Notifications/IndexAction.php index 4a23c05aa..c7cfd6011 100644 --- a/framework/core/src/Api/Actions/Notifications/IndexAction.php +++ b/framework/core/src/Api/Actions/Notifications/IndexAction.php @@ -73,6 +73,7 @@ class IndexAction extends SerializeCollectionAction $user->markNotificationsAsRead()->save(); - return $this->notifications->findByUser($user, $request->limit, $request->offset); + return $this->notifications->findByUser($user, $request->limit, $request->offset) + ->load($request->include); } }