Skip to content

Commit 0730976

Browse files
author
Jeff Wenzbauer
authored
Add RequestedTeam to issues Timeline type (#2665)
Fixes: #2664.
1 parent 175f3bf commit 0730976

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

github/github-accessors.go

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/github-accessors_test.go

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/issues_timeline.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ type Timeline struct {
143143

144144
// The person requested to review the pull request.
145145
Reviewer *User `json:"requested_reviewer,omitempty"`
146+
// RequestedTeam contains the team requested to review the pull request.
147+
RequestedTeam *Team `json:"requested_team,omitempty"`
146148
// The person who requested a review.
147149
Requester *User `json:"review_requester,omitempty"`
148150

0 commit comments

Comments
 (0)