mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-05 07:20:58 +08:00
api pieces-hash keeps return map
This commit is contained in:
@@ -55,7 +55,7 @@ class Handler extends ExceptionHandler
|
||||
}
|
||||
|
||||
$this->renderable(function (AuthenticationException $e) {
|
||||
return response()->json(fail($e->getMessage(), $e->guards()), 401);
|
||||
return response()->json(fail($e->getMessage(), ['guards' => $e->guards()]), 401);
|
||||
});
|
||||
|
||||
$this->renderable(function (UnauthorizedException $e) {
|
||||
|
||||
Reference in New Issue
Block a user