webhook management
[pharext/pharext.org] / app / Github / Create / Webhook.php
index 6e583fcd91c88428dd4439f7d6c3b803a20c3259..76765e89344a0475c7bbb0137794b3fd54244123 100644 (file)
@@ -20,8 +20,8 @@ class Webhook extends Create
                        "config" => [
                                "url" => $this->config->hook->url,
                                "content_type" => $this->config->hook->content_type,
+                               "insecure_ssl" => $this->config->hook->insecure_ssl,
                                "secret" => $this->config->client->secret, // FIXME: bad idea?
-                               "insecure_ssl" => false,
                        ]
                ]));
                return $request;