All API routes seem to work.

This commit is contained in:
James Cole committed 2018-03-04 08:22:32 +01:00
1 parent 2ab44fb33a
commit 7171e69715
7 files changed
+12 -5

No files matched your search

+2 -1
View File
@@ -77,8 +77,9 @@ class Handler extends ExceptionHandler
return response()->json(['message' => 'Unauthenticated', 'exception' => 'AuthenticationException'], 401);
}
if ($request->expectsJson()) {
$isDebug = env('APP_DEBUG', false);
$isDebug = config('app.debug', false);
if ($isDebug) {
return response()->json(
[