We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee11974 commit 8ae96a3Copy full SHA for 8ae96a3
routers/repo/issue.go
@@ -1045,11 +1045,14 @@ func UpdateIssueTitle(ctx *context.Context) {
1045
return
1046
}
1047
1048
+ oldTitle := issue.Title
1049
if err := issue.ChangeTitle(ctx.User, title); err != nil {
1050
ctx.ServerError("ChangeTitle", err)
1051
1052
1053
1054
+ notification.NotifyIssueChangeTitle(ctx.User, issue, oldTitle)
1055
+
1056
ctx.JSON(200, map[string]interface{}{
1057
"title": issue.Title,
1058
})
0 commit comments