From 8f2a5943eedb229b6a2360ba372af87bdbae7018 Mon Sep 17 00:00:00 2001 From: Rudis Muiznieks Date: Mon, 25 Sep 2023 16:26:14 -0500 Subject: [PATCH] wip --- Controllers/kagiSummarizerController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controllers/kagiSummarizerController.php b/Controllers/kagiSummarizerController.php index c53e43e..c2a0c54 100644 --- a/Controllers/kagiSummarizerController.php +++ b/Controllers/kagiSummarizerController.php @@ -28,7 +28,7 @@ class FreshExtension_kagiSummarizer_Controller extends Minz_ActionController { $header_size = curl_getinfo($curl, CURLINFO_HEADER_SIZE); $response_body = substr($response, $header_size); - return json_encode(array( + echo json_encode(array( 'response' => json_decode($response_body), 'status' => curl_getinfo($curl, CURLINFO_HTTP_CODE) ));