1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-16 14:32:26 +02:00

Fixes for L6

This commit is contained in:
David Bomba 2021-10-06 09:51:29 +11:00
parent 32002bcfc3
commit 0b1a8d7572

View File

@ -2,19 +2,19 @@
namespace App\Exceptions;
use App\Http\Requests\Request;
use Exception;
use Illuminate\Auth\AuthenticationException;
use Illuminate\Auth\Access\AuthorizationException;
use Illuminate\Auth\AuthenticationException;
use Illuminate\Database\Eloquent\ModelNotFoundException;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use Illuminate\Http\Exceptions\HttpResponseException;
use Illuminate\Support\Facades\Response;
use Illuminate\Session\TokenMismatchException;
use Illuminate\Support\Facades\Response;
use Redirect;
use Symfony\Component\HttpKernel\Exception\HttpException;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
use Utils;
use Request;
/**
* Class Handler.
@ -101,7 +101,7 @@ class Handler extends ExceptionHandler
*/
public function render($request, Exception $e)
{
$value = Request::header('X-Ninja-Token');
$value = \Request::header('X-Ninja-Token');
if ($e instanceof ModelNotFoundException) {