From 46d711cf510b3795b02bf9a58b64fecb16f4a0b6 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 3 May 2015 11:48:18 -0400 Subject: Fix bug: task references are not unique --- app/Integration/GitlabWebhook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Integration/GitlabWebhook.php') diff --git a/app/Integration/GitlabWebhook.php b/app/Integration/GitlabWebhook.php index dbba3663..e30a0b50 100644 --- a/app/Integration/GitlabWebhook.php +++ b/app/Integration/GitlabWebhook.php @@ -191,7 +191,7 @@ class GitlabWebhook extends Base */ public function handleIssueClosed(array $issue) { - $task = $this->taskFinder->getByReference($issue['id']); + $task = $this->taskFinder->getByReference($this->project_id, $issue['id']); if (! empty($task)) { $event = array( -- cgit v1.2.3