use uuid instead of id to delete notifications

This commit is contained in:
2026-03-28 17:02:00 +01:00
parent cdc4645d92
commit cbe816fd17
2 changed files with 2 additions and 2 deletions
@@ -23,7 +23,7 @@ class NotificationsController extends Controller
}
}
public function deleteNotification(Request $request, int $notificationId): JsonResponse
public function deleteNotification(Request $request, string $notificationId): JsonResponse
{
try {
$notification = $request->user()->notifications()->findOrFail($notificationId);