one more styleci fix. don’t be that picky! 🙈

This commit is contained in:
Jakob Schrettenbrunner 2017-01-07 18:40:55 +01:00
parent a661f71974
commit f70b33d69c

View file

@ -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');
}