Skip to content

Commit

Permalink
fix: properly set request header
Browse files Browse the repository at this point in the history
That was a dumb typo.
  • Loading branch information
coldacid committed Dec 11, 2020
1 parent 195eabc commit a2669ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PodcastGenerator/core/pinger.php
Expand Up @@ -23,10 +23,10 @@ function pingWebSub()
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => $data,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER, array('Content-Type: application/x-www-form-urlencoded')
CURLOPT_HTTPHEADER => array('Content-Type: application/x-www-form-urlencoded')
);
try {
$handle = curl_init();
$handle = curl_init($config['websub_server']);
curl_setopt_array($handle, $opts);
$result = curl_exec($handle);
}
Expand Down

0 comments on commit a2669ac

Please sign in to comment.