(refs #630) Fix bug on changing issues status.

This commit is contained in:
nazoking
2015-02-24 00:29:54 +09:00
parent 0299cee5ec
commit 3e78d423ac

View File

@@ -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"