diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 203bbed..9f20eff 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -96,7 +96,7 @@ class Handler extends ExceptionHandler /** @var AuthenticationException $e */ return $this->getReponse( $request, - 407, + 401, ApiError::needAuth()->value, sprintf('%s, %s', ApiError::needAuth()->label, $e->getMessage()) );