summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller')
-rw-r--r--app/Controller/Webhook.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/Webhook.php b/app/Controller/Webhook.php
index ddbf7d62..10a24e47 100644
--- a/app/Controller/Webhook.php
+++ b/app/Controller/Webhook.php
@@ -126,7 +126,7 @@ class Webhook extends Base
$this->response->text('Not Authorized', 401);
}
- echo $this->mailgunWebhook->parsePayload($_POST) ? 'PARSED' : 'IGNORED';
+ echo $this->mailgun->receiveEmail($_POST) ? 'PARSED' : 'IGNORED';
}
/**