summaryrefslogtreecommitdiff
path: root/app/Integration/SlackWebhook.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-06-07 22:17:50 -0400
committerFrederic Guillot <fred@kanboard.net>2015-06-07 22:17:50 -0400
commite22da9d32addefa8d739171febcf6f6d0c06ba7b (patch)
treeaffb9f8729ac9d4f07dd7f24dff39bfaa9cda0ff /app/Integration/SlackWebhook.php
parent4f32352fe62e47ad5ea760eb00493bdc061b2407 (diff)
Add Mailgun API as mail transport
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);
}
}
}