Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions github/github-accessors.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion github/github-accessors_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions github/github-stringify_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion github/repos_hooks_deliveries.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type HookDelivery struct {
StatusCode *int `json:"status_code"`
Event *string `json:"event"`
Action *string `json:"action"`
InstallationID *string `json:"installation_id"`
InstallationID *int64 `json:"installation_id"`
RepositoryID *int64 `json:"repository_id"`

// Request is populated by GetHookDelivery.
Expand Down
4 changes: 2 additions & 2 deletions github/repos_hooks_deliveries_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ func TestHookDelivery_Marshal(t *testing.T) {
StatusCode: Int(1),
Event: String("guid"),
Action: String("guid"),
InstallationID: String("guid"),
InstallationID: Int64(1),
RepositoryID: Int64(1),
Request: &HookRequest{
Headers: header,
Expand All @@ -310,7 +310,7 @@ func TestHookDelivery_Marshal(t *testing.T) {
"status_code": 1,
"event": "guid",
"action": "guid",
"installation_id": "guid",
"installation_id": 1,
"repository_id": 1,
"request": {
"headers": {
Expand Down