From c49a5e558ffe9825d3619867469bf6b054e8d9ad Mon Sep 17 00:00:00 2001 From: Giovanni-Josserand Date: Thu, 8 Jan 2026 14:10:17 +0100 Subject: [PATCH] add readNotifications route and bruno's request --- app/Http/Controllers/NotificationsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/NotificationsController.php b/app/Http/Controllers/NotificationsController.php index 9dd9146..7af6c84 100644 --- a/app/Http/Controllers/NotificationsController.php +++ b/app/Http/Controllers/NotificationsController.php @@ -40,7 +40,7 @@ class NotificationsController extends Controller } public function readNotifications(Request $request): JsonResponse { - try { + try { $user = $request->user(); $notificationIds = $user->notifications()->pluck('notification_id');