Skip to content

Commit

Permalink
Merge pull request #67 from hatstand/add-requested-teams
Browse files Browse the repository at this point in the history
Add requested_team to PullRequestPayload
  • Loading branch information
deankarn authored Apr 14, 2019
2 parents 295aa65 + 65f5d60 commit f053ac6
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion github/payload.go
Original file line number Diff line number Diff line change
Expand Up @@ -3728,7 +3728,19 @@ type PullRequestPayload struct {
} `json:"sender"`
Assignee *Assignee `json:"assignee"`
RequestedReviewer *Assignee `json:"requested_reviewer"`
Installation struct {
RequestedTeam struct {
Name string `json:"name"`
ID int64 `json:"id"`
Slug string `json:"slug"`
Description string `json:"description"`
Privacy string `json:"privacy"`
URL string `json:"url"`
HTMLURL string `json:"html_url"`
MembersURL string `json:"members_url"`
RepositoriesURL string `json:"repositories_url"`
Permission string `json:"permission"`
} `json:"requested_team"`
Installation struct {
ID int64 `json:"id"`
} `json:"installation"`
}
Expand Down

0 comments on commit f053ac6

Please sign in to comment.