summaryrefslogtreecommitdiff
path: root/app/Controller/Webhook.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/Webhook.php')
-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 fa9c5834..a0bf369a 100644
--- a/app/Controller/Webhook.php
+++ b/app/Controller/Webhook.php
@@ -57,7 +57,7 @@ class Webhook extends Base
$result = $this->githubWebhook->parsePayload(
$this->request->getHeader('X-Github-Event'),
- $this->request->getBody()
+ $this->request->getJson()
);
echo $result ? 'PARSED' : 'IGNORED';