Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
RickDBCN committed Dec 1, 2022
1 parent 2aedfb2 commit d9eb46d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function sendRequest($endpoint, $method, $params = [], $data = null)
curl_close($curl);

if(! in_array($headerInfo['http_code'], [200, 201, 204])) {
throw new Exception("Invalid API response" . $headerInfo['http_code']);
//throw new Exception("Invalid API response" . $headerInfo['http_code']);
}

return $result;
Expand Down

0 comments on commit d9eb46d

Please sign in to comment.