Implement admin user management API routes
This commit is contained in:
parent
95ba8da99e
commit
4a65dff940
3 changed files with 145 additions and 21 deletions
|
@ -71,6 +71,7 @@ class Handler extends ExceptionHandler
|
|||
$response = response()->json(
|
||||
[
|
||||
'error' => $displayError,
|
||||
'type' => (! config('app.debug')) ? null : class_basename($exception),
|
||||
'http_code' => (method_exists($exception, 'getStatusCode')) ? $exception->getStatusCode() : 500,
|
||||
'trace' => (! config('app.debug')) ? null : $exception->getTrace(),
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue