summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-09-28 18:23:21 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-09-28 18:23:21 -0400
commit33f9cdbc976e0f97c3dd24658dc7d0097497c6d7 (patch)
tree3a5dc8ca9a6b3db268ba95aec357a2e5a8aad80e /app/Controller
parent03fa01ac7b036820ee232d893ec63241918c6012 (diff)
Add support for Github Issue Webhooks
Diffstat (limited to 'app/Controller')
-rw-r--r--app/Controller/Webhook.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Controller/Webhook.php b/app/Controller/Webhook.php
index 8a81a0c4..c72dc983 100644
--- a/app/Controller/Webhook.php
+++ b/app/Controller/Webhook.php
@@ -53,6 +53,8 @@ class Webhook extends Base
$this->response->text('Not Authorized', 401);
}
+ $this->githubWebhook->setProjectId($this->request->getIntegerParam('project_id'));
+
$this->githubWebhook->parsePayload(
$this->request->getHeader('X-Github-Event'),
$this->request->getBody()