diff --git a/app/Http/Controllers/MicropubClientController.php b/app/Http/Controllers/MicropubClientController.php index 2e7e09cc..0a39ed7c 100644 --- a/app/Http/Controllers/MicropubClientController.php +++ b/app/Http/Controllers/MicropubClientController.php @@ -319,7 +319,6 @@ class MicropubClientController extends Controller return response()->json([ 'error' => true, 'error_description' => 'The endpoint returned a non-good response', - 'error_stack' => $e->getMessage() ], 400); } diff --git a/app/Http/Controllers/MicropubController.php b/app/Http/Controllers/MicropubController.php index 1a633798..48979e31 100644 --- a/app/Http/Controllers/MicropubController.php +++ b/app/Http/Controllers/MicropubController.php @@ -118,7 +118,7 @@ class MicropubController extends Controller return response()->json([ 'response' => 'error', 'error' => 'invalid_token', - 'error_description' => 'The provided token did not pass validation' + 'error_description' => 'The provided token did not pass validation', ], 400); } //we have a valid token, is `syndicate-to` set?