This commit is contained in:
kagel 2016-08-31 03:21:09 +03:00
parent fceac393a4
commit 1dd6be2180
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@
[{{{user :login} :owner repo :name} :repository [{{{user :login} :owner repo :name} :repository
{issue-id :id issue-number :number} :issue}] {issue-id :id issue-number :number} :issue}]
(future (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)))) (issues/close commit-id issue-id))))
(defn handle-pull-request-closed (defn handle-pull-request-closed