From: 6543 <6543@obermui.de> Date: Fri, 26 Mar 2021 02:46:41 +0000 (+0100) Subject: fix regression of 15139 (#15164) X-Git-Tag: v1.15.0-rc1~565 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=dc56fb7c84bb123614fb190319081e5a9bc18133;p=gitea.git fix regression of 15139 (#15164) --- 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,