summaryrefslogtreecommitdiff
path: root/app/Subscriber/WebhookSubscriber.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Subscriber/WebhookSubscriber.php')
-rw-r--r--app/Subscriber/WebhookSubscriber.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Subscriber/WebhookSubscriber.php b/app/Subscriber/WebhookSubscriber.php
index 20d765e2..6b5abf1b 100644
--- a/app/Subscriber/WebhookSubscriber.php
+++ b/app/Subscriber/WebhookSubscriber.php
@@ -23,15 +23,15 @@ class WebhookSubscriber extends Base implements EventSubscriberInterface
public function onTaskCreation(TaskEvent $event)
{
- $this->executeRequest('webhook_url_task_creation');
+ $this->executeRequest('webhook_url_task_creation', $event);
}
public function onTaskModification(TaskEvent $event)
{
- $this->executeRequest('webhook_url_task_modification');
+ $this->executeRequest('webhook_url_task_modification', $event);
}
- public function executeRequest($parameter)
+ public function executeRequest($parameter, TaskEvent $event)
{
$url = $this->config->get($parameter);