diff --git a/src/Controllers/OpenHandlerController.php b/src/Controllers/OpenHandlerController.php index 5563c294..02cc3c61 100644 --- a/src/Controllers/OpenHandlerController.php +++ b/src/Controllers/OpenHandlerController.php @@ -15,7 +15,13 @@ public function handle(Request $request) $openHandler = new OpenHandler($this->debugbar); $data = $openHandler->handle($request->input(), false, false); - return response()->json($data); + return new Response( + $data, + 200, + [ + 'Content-Type' => 'application/json' + ] + ); } /**