Skip to content

Commit

Permalink
Merge pull request #128 from juliojimenez/checks-installation-id
Browse files Browse the repository at this point in the history
fix: Add Installation struct to CheckSuitePayload and CheckRunPayload
  • Loading branch information
Toshik1978 authored May 3, 2021
2 parents ec227ef + 66bfeb5 commit 3c38273
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions github/payload.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ type CheckRunPayload struct {
Watchers int64 `json:"watchers"`
DefaultBranch string `json:"default_branch"`
} `json:"repository"`
Installation struct {
ID int64 `json:"id"`
} `json:"installation,omitempty"`
Sender struct {
Login string `json:"login"`
ID int64 `json:"id"`
Expand Down Expand Up @@ -359,6 +362,9 @@ type CheckSuitePayload struct {
Watchers int64 `json:"watchers"`
DefaultBranch string `json:"default_branch"`
} `json:"repository"`
Installation struct {
ID int64 `json:"id"`
} `json:"installation,omitempty"`
Sender struct {
Login string `json:"login"`
ID int64 `json:"id"`
Expand Down

0 comments on commit 3c38273

Please sign in to comment.