Update routers/web/repo/issue_list.go

Co-authored-by: Zettat123 <zettat123@gmail.com>
This commit is contained in:
Lunny Xiao 2024-11-25 05:46:29 +08:00 committed by GitHub
parent c0370e7065
commit e26a30105f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -468,7 +468,7 @@ func UpdateIssueStatus(ctx *context.Context) {
})
return
}
ctx.ServerError("ChangeStatus", err)
ctx.ServerError("CloseIssue", err)
return
}
} else if !closeOrReopen && issue.IsClosed {