mirror of
https://github.com/gitbucket/gitbucket.git
synced 2026-01-07 08:02:14 +01:00
(refs #630) Fix bug on changing issues status.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user