Skip to content
Snippets Groups Projects
Commit 341808a4 authored by Zandor Smith's avatar Zandor Smith :computer:
Browse files

Fix APNs response being printed to the console/browser instead of being returned into a variable.

parent 59fd6651
No related branches found
No related tags found
No related merge requests found
Pipeline #15468 passed
......@@ -123,6 +123,7 @@ class APNS {
curl_setopt($ch, CURLOPT_POSTFIELDS, $notification->generateJSONPayload());
curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_0);
curl_setopt($ch, CURLOPT_HTTPHEADER, $header);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
if($this->rootCertificatePath != null) {
curl_setopt($ch, CURLOPT_CAINFO, $this->rootCertificatePath);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment