StyleCI fixes
This commit is contained in:
parent
5df1d6aac3
commit
d924f9916e
2 changed files with 1 additions and 2 deletions
|
@ -319,7 +319,6 @@ class MicropubClientController extends Controller
|
||||||
return response()->json([
|
return response()->json([
|
||||||
'error' => true,
|
'error' => true,
|
||||||
'error_description' => 'The endpoint returned a non-good response',
|
'error_description' => 'The endpoint returned a non-good response',
|
||||||
'error_stack' => $e->getMessage()
|
|
||||||
], 400);
|
], 400);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -118,7 +118,7 @@ class MicropubController extends Controller
|
||||||
return response()->json([
|
return response()->json([
|
||||||
'response' => 'error',
|
'response' => 'error',
|
||||||
'error' => 'invalid_token',
|
'error' => 'invalid_token',
|
||||||
'error_description' => 'The provided token did not pass validation'
|
'error_description' => 'The provided token did not pass validation',
|
||||||
], 400);
|
], 400);
|
||||||
}
|
}
|
||||||
//we have a valid token, is `syndicate-to` set?
|
//we have a valid token, is `syndicate-to` set?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue