Skip to content

Commit

Permalink
Update ApiRequestor.php
Browse files Browse the repository at this point in the history
Delete print
  • Loading branch information
ADandyGuyInSpace authored Nov 21, 2022
1 parent 8165bd8 commit d636311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ApiRequestor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

1 comment on commit d636311

@weroh
Copy link
Contributor

@weroh weroh commented on d636311 Nov 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You made my heart skip a beat. I thought that was my code for a second. I drop a print_r on that same exact line during testing, but it ends with an exit instead of die.

Please sign in to comment.