forked from forgejo/forgejo
parent
290cf75f93
commit
e7609929c1
4 changed files with 8 additions and 3 deletions
|
@ -86,7 +86,8 @@ func ToPullReviewCommentList(review *models.Review, doer *models.User) ([]*api.P
|
|||
apiComment := &api.PullReviewComment{
|
||||
ID: comment.ID,
|
||||
Body: comment.Content,
|
||||
Reviewer: ToUser(comment.Poster, doer),
|
||||
Poster: ToUser(comment.Poster, doer),
|
||||
Resolver: ToUser(comment.ResolveDoer, doer),
|
||||
ReviewID: review.ID,
|
||||
Created: comment.CreatedUnix.AsTime(),
|
||||
Updated: comment.UpdatedUnix.AsTime(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue