改进 500 规则
This commit is contained in:
parent
b080457e54
commit
504dd963bd
@ -20,7 +20,7 @@ public function moduleResponse($response, int $status = 200): JsonResponse
|
||||
404 => $this->notFound($response),
|
||||
405 => $this->methodNotAllowed(),
|
||||
429 => $this->tooManyRequests(),
|
||||
500 => $this->serverError(),
|
||||
500 => $this->serverError($response),
|
||||
|
||||
default => response()->json($response, $status),
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user