Commit e7153879 authored by Armando Lüscher's avatar Armando Lüscher Committed by GitHub

Merge pull request #362 from noplanman/fix_webhook_with_self_signed_certificate

Fix self-signed certificate usage
parents 417d280c efd33660
......@@ -183,6 +183,7 @@ class Request
//Reformat data array in multipart way if it contains a resource
foreach ($data as $key => $item) {
$has_resource |= is_resource($item);
is_array($item) && $item = json_encode($item);
$multipart[] = ['name' => $key, 'contents' => $item];
}
if ($has_resource) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment