aboutsummaryrefslogtreecommitdiffstats
path: root/modules/structs/pull_review.go
diff options
context:
space:
mode:
authorsotho <alex@segv.de>2021-03-28 00:37:51 +0100
committerGitHub <noreply@github.com>2021-03-28 00:37:51 +0100
commite7609929c18e1107b03bacb3e31049a7cbb6ffc8 (patch)
tree2cc2ec2b8a3ead75f9ce2907f6e4209c658a55db /modules/structs/pull_review.go
parent290cf75f9343a43d9770b1d6f8f3332a23357e27 (diff)
downloadgitea-e7609929c18e1107b03bacb3e31049a7cbb6ffc8.tar.gz
gitea-e7609929c18e1107b03bacb3e31049a7cbb6ffc8.zip
Expose resolver via API (#15167)
* Expose resolver via API
Diffstat (limited to 'modules/structs/pull_review.go')
-rw-r--r--modules/structs/pull_review.go3
1 files changed, 2 insertions, 1 deletions
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