diff options
Diffstat (limited to 'services/pull/review.go')
-rw-r--r-- | services/pull/review.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/pull/review.go b/services/pull/review.go index 84b6256992..5b453e87f4 100644 --- a/services/pull/review.go +++ b/services/pull/review.go @@ -144,7 +144,7 @@ func createCodeComment(doer *models.User, repo *models.Repository, issue *models } patch = gitdiff.CutDiffAroundLine(patchBuf, int64((&models.Comment{Line: line}).UnsignedLine()), line < 0, setting.UI.CodeCommentLines) } - return models.CreateCommentWithNoAction(&models.CreateCommentOptions{ + return models.CreateComment(&models.CreateCommentOptions{ Type: models.CommentTypeCode, Doer: doer, Repo: repo, |