Implement admin user management API routes

This commit is contained in:
Dane Everitt 2017-12-16 11:31:18 -06:00
parent 95ba8da99e
commit 4a65dff940
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 145 additions and 21 deletions

View file

@ -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(),
],