Skip to content

Commit dc56fb7

Browse files
authored
fix regression of 15139 (#15164)
1 parent b68eb54 commit dc56fb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/convert/pull_review.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ func ToPullReviewCommentList(review *models.Review, doer *models.User) ([]*api.P
9696
ID: comment.ID,
9797
Body: comment.Content,
9898
Reviewer: ToUser(comment.Poster, doer != nil, auth),
99-
ReviewID: comment.PosterID,
99+
ReviewID: review.ID,
100100
Created: comment.CreatedUnix.AsTime(),
101101
Updated: comment.UpdatedUnix.AsTime(),
102102
Path: comment.TreePath,

0 commit comments

Comments
 (0)