We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bea8d8 commit 5d26760Copy full SHA for 5d26760
routers/repo/issue.go
@@ -1047,11 +1047,14 @@ func UpdateIssueTitle(ctx *context.Context) {
1047
return
1048
}
1049
1050
+ oldTitle := issue.Title
1051
if err := issue.ChangeTitle(ctx.User, title); err != nil {
1052
ctx.ServerError("ChangeTitle", err)
1053
1054
1055
1056
+ notification.NotifyIssueChangeTitle(ctx.User, issue, oldTitle)
1057
+
1058
ctx.JSON(200, map[string]interface{}{
1059
"title": issue.Title,
1060
})
0 commit comments