Skip to content

Commit

Permalink
remove echo line as it can confuse people
Browse files Browse the repository at this point in the history
  • Loading branch information
apexdodge authored Aug 1, 2021
1 parent a484c1e commit e18ed0b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Api2Pdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,6 @@ private function makeRequest($endpoint, $payload) {
$ch = curl_init($url);

$jsonDataEncoded = json_encode($payload);
echo($jsonDataEncoded);

curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
Expand Down Expand Up @@ -474,4 +473,4 @@ public function getResponseId()
}
}

class Api2PdfException extends Exception { }
class Api2PdfException extends Exception { }

0 comments on commit e18ed0b

Please sign in to comment.