@@ -118,7 +118,7 @@ |
||
118 | 118 | throw new UserNotPermittedException(); |
119 | 119 | } |
120 | 120 | |
121 | - }else{ |
|
121 | + } else{ |
|
122 | 122 | return (App::make(\Dingo\Api\Http\Middleware\Auth::class))->handle($request, $next); |
123 | 123 | // another way to do handle this is by calling `$user = $this->jwtAuthAdapter->toUser($token);` |
124 | 124 | // and continuing the execution of this code till the last return, but to maintain consistency |