mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 06:13:45 +02:00
Implement admin user management API routes
This commit is contained in:
@@ -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(),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user