From dc56fb7c84bb123614fb190319081e5a9bc18133 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Fri, 26 Mar 2021 03:46:41 +0100 Subject: [PATCH] fix regression of 15139 (#15164) --- modules/convert/pull_review.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/convert/pull_review.go b/modules/convert/pull_review.go index 067831cd7..418cb711d 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,