summaryrefslogtreecommitdiff
path: root/app/Notification/WebhookNotification.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-05-28 19:48:22 -0400
committerFrederic Guillot <fred@kanboard.net>2016-05-28 19:48:22 -0400
commit14713b0ec7ed93ca45578da069ad4e19a7d8addf (patch)
tree79972d53f6091a1ddb17f64a6a05a5523f5d5168 /app/Notification/WebhookNotification.php
parent936376ffe74c583d3cb819e98f53a85137fdf8bc (diff)
Rename all models
Diffstat (limited to 'app/Notification/WebhookNotification.php')
-rw-r--r--app/Notification/WebhookNotification.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Notification/WebhookNotification.php b/app/Notification/WebhookNotification.php
index 25d59251..16045535 100644
--- a/app/Notification/WebhookNotification.php
+++ b/app/Notification/WebhookNotification.php
@@ -35,8 +35,8 @@ class WebhookNotification extends Base implements NotificationInterface
*/
public function notifyProject(array $project, $event_name, array $event_data)
{
- $url = $this->config->get('webhook_url');
- $token = $this->config->get('webhook_token');
+ $url = $this->configModel->get('webhook_url');
+ $token = $this->configModel->get('webhook_token');
if (! empty($url)) {
if (strpos($url, '?') !== false) {