one more styleci fix. don’t be that picky! 🙈
This commit is contained in:
parent
a661f71974
commit
f70b33d69c
1 changed files with 1 additions and 0 deletions
|
@ -123,6 +123,7 @@ class RemoteController extends Controller
|
|||
// Check if token is expired
|
||||
if ($token->expires_at->lt(Carbon::now())) {
|
||||
$token->delete();
|
||||
|
||||
return response(json_encode(['error' => 'token_expired']), 403)
|
||||
->header('Content-Type', 'application/json');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue