diff options
author | 6543 <6543@obermui.de> | 2021-03-26 03:46:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-26 03:46:41 +0100 |
commit | dc56fb7c84bb123614fb190319081e5a9bc18133 (patch) | |
tree | fba2da065f36d6ce4f9f92d6053f7165d14fdbd7 | |
parent | b68eb54f95f894a71a1a91c22eff90e1d2f38a0e (diff) | |
download | gitea-dc56fb7c84bb123614fb190319081e5a9bc18133.tar.gz gitea-dc56fb7c84bb123614fb190319081e5a9bc18133.zip |
fix regression of 15139 (#15164)
-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, |