1
1
mirror of https://github.com/go-gitea/gitea synced 2024-05-28 23:15:48 +00:00

fix regression of 15139 (#15164)

This commit is contained in:
6543 2021-03-26 03:46:41 +01:00 committed by GitHub
parent b68eb54f95
commit dc56fb7c84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,