Skip to content

Commit d70f617

Browse files
author
Dean Karn
authored
Merge pull request go-playground#66 from hatstand/add-requested-reviewer
Add requested_reviewer to GitHub pull request
2 parents 4ee4acf + 01a1302 commit d70f617

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

github/payload.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3726,8 +3726,9 @@ type PullRequestPayload struct {
37263726
Type string `json:"type"`
37273727
SiteAdmin bool `json:"site_admin"`
37283728
} `json:"sender"`
3729-
Assignee *Assignee `json:"assignee"`
3730-
Installation struct {
3729+
Assignee *Assignee `json:"assignee"`
3730+
RequestedReviewer *Assignee `json:"requested_reviewer"`
3731+
Installation struct {
37313732
ID int64 `json:"id"`
37323733
} `json:"installation"`
37333734
}

0 commit comments

Comments
 (0)