diff --git a/lib/ApiRequestor.php b/lib/ApiRequestor.php index 578ff84..01db015 100644 --- a/lib/ApiRequestor.php +++ b/lib/ApiRequestor.php @@ -109,7 +109,7 @@ public function request($method, $url, $params = null, $headers = null) $params = $params ?: []; $headers = $headers ?: []; list($rbody, $rcode, $rheaders, $myApiKey) = $this->_requestRaw($method, $url, $params, $headers); - print_r($rbody); die; + $json = $this->_interpretResponse($rbody, $rcode, $rheaders); $resp = new ApiResponse($rbody, $rcode, $rheaders, $json);