diff --git a/Profice WebSite/scripts/add/send.php b/Profice WebSite/scripts/add/send.php index 5a70fd2..b62829e 100644 --- a/Profice WebSite/scripts/add/send.php +++ b/Profice WebSite/scripts/add/send.php @@ -198,7 +198,7 @@ function sendToWebhook($data, $webhookUrl = null) { curl_setopt_array($ch, [ CURLOPT_URL => $url, CURLOPT_RETURNTRANSFER => true, - CURLOPT_POST => true,curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); + CURLOPT_POST => true, CURLOPT_POSTFIELDS => $jsonData, CURLOPT_HTTPHEADER => [ 'Content-Type: application/json',