summaryrefslogtreecommitdiff
path: root/app/Controller/Webhook.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-09 20:04:27 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-11-09 20:04:27 -0500
commit7eadf7cfd80176ab9b74c9c6a55c28db0f43fa88 (patch)
treeb55b32bf9200f4ed045adfabaadb00d0ce20fc65 /app/Controller/Webhook.php
parente89ba5e9e692f33427fedb05a095255f27480a6b (diff)
Start templates cleanup and reorganisation
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';