From 33f9cdbc976e0f97c3dd24658dc7d0097497c6d7 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sun, 28 Sep 2014 18:23:21 -0400 Subject: Add support for Github Issue Webhooks --- app/Controller/Webhook.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/Controller') 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() -- cgit v1.2.3