mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 04:14:04 +00:00
x1 and x2 reports
This commit is contained in:
@@ -59,7 +59,9 @@ class Handler extends ExceptionHandler
|
||||
}
|
||||
|
||||
if ($exception instanceof AuthorizationException) {
|
||||
return response()->redirectTo('/');
|
||||
return response()->json([
|
||||
'error' => 'Resource not found'
|
||||
], 404);
|
||||
}
|
||||
|
||||
return parent::render($request, $exception);
|
||||
|
||||
Reference in New Issue
Block a user