From 70db50def60a3f8e73da5dae5276b1f4ec8491ed Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 10 Jan 2025 20:27:49 +0100 Subject: [PATCH] fix: update response message for sentinel push route - Removed the temporary unavailability message from the /sentinel/push route to allow for proper handling of authorization without misleading responses. - This change improves the clarity of the API response when the authorization token is not provided. --- routes/api.php | 1 - 1 file changed, 1 deletion(-) diff --git a/routes/api.php b/routes/api.php index 246b98d1f..b0ee6a6c9 100644 --- a/routes/api.php +++ b/routes/api.php @@ -133,7 +133,6 @@ Route::group([ 'prefix' => 'v1', ], function () { Route::post('/sentinel/push', function () { - return response()->json(['message' => 'temporary unavailable'], 503); $token = request()->header('Authorization'); if (! $token) { return response()->json(['message' => 'Unauthorized'], 401);