diff options
Diffstat (limited to 'app/Controller/Webhook.php')
-rw-r--r-- | app/Controller/Webhook.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/Controller/Webhook.php b/app/Controller/Webhook.php index 71acab08..fa9c5834 100644 --- a/app/Controller/Webhook.php +++ b/app/Controller/Webhook.php @@ -55,9 +55,11 @@ class Webhook extends Base $this->githubWebhook->setProjectId($this->request->getIntegerParam('project_id')); - $this->githubWebhook->parsePayload( + $result = $this->githubWebhook->parsePayload( $this->request->getHeader('X-Github-Event'), $this->request->getBody() ); + + echo $result ? 'PARSED' : 'IGNORED'; } } |