summaryrefslogtreecommitdiffstats
path: root/modules/structs/pull_review.go
diff options
context:
space:
mode:
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