diff options
Diffstat (limited to 'routers/repo/issue.go')
-rw-r--r-- | routers/repo/issue.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go index 6a532dc125..fbeae75ab5 100644 --- a/routers/repo/issue.go +++ b/routers/repo/issue.go @@ -2125,7 +2125,7 @@ func DeleteComment(ctx *context.Context) { return } - if err = comment_service.DeleteComment(comment, ctx.User); err != nil { + if err = comment_service.DeleteComment(ctx.User, comment); err != nil { ctx.ServerError("DeleteCommentByID", err) return } |