From 1dd6be2180929d8327317e9d4fdc432a32d175b7 Mon Sep 17 00:00:00 2001 From: kagel Date: Wed, 31 Aug 2016 03:21:09 +0300 Subject: [PATCH] Bugfix --- src/clj/commiteth/routes/webhooks.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clj/commiteth/routes/webhooks.clj b/src/clj/commiteth/routes/webhooks.clj index bd730f6..208ad07 100644 --- a/src/clj/commiteth/routes/webhooks.clj +++ b/src/clj/commiteth/routes/webhooks.clj @@ -25,7 +25,7 @@ [{{{user :login} :owner repo :name} :repository {issue-id :id issue-number :number} :issue}] (future - (when-let [commit-id (find-commit-id user repo issue-number "closed")] + (when-let [commit-id (find-commit-id user repo issue-number "referenced")] (issues/close commit-id issue-id)))) (defn handle-pull-request-closed