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.
This commit is contained in:
parent
a396d51452
commit
70db50def6
1 changed files with 0 additions and 1 deletions
|
|
@ -133,7 +133,6 @@
|
|||
'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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue