diff options
-rw-r--r-- | modules/convert/pull_review.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/convert/pull_review.go b/modules/convert/pull_review.go index 067831cd77..418cb711dc 100644 --- a/modules/convert/pull_review.go +++ b/modules/convert/pull_review.go @@ -96,7 +96,7 @@ func ToPullReviewCommentList(review *models.Review, doer *models.User) ([]*api.P ID: comment.ID, Body: comment.Content, Reviewer: ToUser(comment.Poster, doer != nil, auth), - ReviewID: comment.PosterID, + ReviewID: review.ID, Created: comment.CreatedUnix.AsTime(), Updated: comment.UpdatedUnix.AsTime(), Path: comment.TreePath, |