summaryrefslogtreecommitdiff
path: root/app/Notification/WebhookNotification.php
diff options
context:
space:
mode:
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) {