From f24dc5e65881a57594f0b266ce03334a45b2c850 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sun, 20 Jul 2025 12:44:51 -0700 Subject: [PATCH] revert unnecessary change in this pull request --- routers/web/repo/issue_comment.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/web/repo/issue_comment.go b/routers/web/repo/issue_comment.go index ecaa9f05e47..cb5b2d80195 100644 --- a/routers/web/repo/issue_comment.go +++ b/routers/web/repo/issue_comment.go @@ -325,7 +325,7 @@ func DeleteComment(ctx *context.Context) { return } - if err := issue_service.DeleteComment(ctx, ctx.Doer, comment); err != nil { + if err = issue_service.DeleteComment(ctx, ctx.Doer, comment); err != nil { ctx.ServerError("DeleteComment", err) return }