wip
This commit is contained in:
parent
d52cec6f0a
commit
8f2a5943ee
|
@ -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)
|
||||
));
|
||||
|
|
Loading…
Reference in New Issue