From 3e78d423ac478f62ecfd2d657c2e1869a3143237 Mon Sep 17 00:00:00 2001 From: nazoking Date: Tue, 24 Feb 2015 00:29:54 +0900 Subject: [PATCH] (refs #630) Fix bug on changing issues status. --- src/main/scala/app/IssuesController.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/app/IssuesController.scala b/src/main/scala/app/IssuesController.scala index e8d481f12..077652e3e 100644 --- a/src/main/scala/app/IssuesController.scala +++ b/src/main/scala/app/IssuesController.scala @@ -397,7 +397,7 @@ trait IssuesControllerBase extends ControllerBase { // call web hooks action match { - case None => callIssueCommentWebHook(repository, issue, commentId, context.loginAccount.get) + case None => commentId.map{ commentIdSome => callIssueCommentWebHook(repository, issue, commentIdSome, context.loginAccount.get) } case Some(act) => val webHookAction = act match { case "open" => "opened" case "reopen" => "reopened"