Skip to content

Commit 693ddff

Browse files
authored
Add requester to InstallationEvent (#2763)
1 parent 9385ab0 commit 693ddff

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

github/event_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ type InstallationEvent struct {
469469
Repositories []*Repository `json:"repositories,omitempty"`
470470
Sender *User `json:"sender,omitempty"`
471471
Installation *Installation `json:"installation,omitempty"`
472-
// TODO key "requester" is not covered
472+
Requester *User `json:"requester,omitempty"`
473473
}
474474

475475
// InstallationRepositoriesEvent is triggered when a repository is added or

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.

0 commit comments

Comments
 (0)