From e7609929c18e1107b03bacb3e31049a7cbb6ffc8 Mon Sep 17 00:00:00 2001 From: sotho Date: Sun, 28 Mar 2021 00:37:51 +0100 Subject: Expose resolver via API (#15167) * Expose resolver via API --- modules/structs/pull_review.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/structs') diff --git a/modules/structs/pull_review.go b/modules/structs/pull_review.go index 261d00fde8..6544604acb 100644 --- a/modules/structs/pull_review.go +++ b/modules/structs/pull_review.go @@ -49,7 +49,8 @@ type PullReview struct { type PullReviewComment struct { ID int64 `json:"id"` Body string `json:"body"` - Reviewer *User `json:"user"` + Poster *User `json:"user"` + Resolver *User `json:"resolver"` ReviewID int64 `json:"pull_request_review_id"` // swagger:strfmt date-time -- cgit v1.2.3