summaryrefslogtreecommitdiff
path: root/app/Integration/SlackWebhook.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Integration/SlackWebhook.php')
-rw-r--r--app/Integration/SlackWebhook.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Integration/SlackWebhook.php b/app/Integration/SlackWebhook.php
index 8be33496..975ea21f 100644
--- a/app/Integration/SlackWebhook.php
+++ b/app/Integration/SlackWebhook.php
@@ -69,7 +69,7 @@ class SlackWebhook extends \Core\Base
$payload['text'] .= '|'.t('view the task on Kanboard').'>';
}
- $this->httpClient->post($this->getWebhookUrl($project_id), $payload);
+ $this->httpClient->postJson($this->getWebhookUrl($project_id), $payload);
}
}
}