Skip to content

Commit

Permalink
Fix JSON unmarshal error of App.app.events (google#1370)
Browse files Browse the repository at this point in the history
  • Loading branch information
haya14busa authored and gmlewis committed Jan 10, 2020
1 parent 935df87 commit 26f641f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github/apps.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type App struct {
CreatedAt *Timestamp `json:"created_at,omitempty"`
UpdatedAt *Timestamp `json:"updated_at,omitempty"`
Permissions *InstallationPermissions `json:"permissions,omitempty"`
Events []*Event `json:"events,omitempty"`
Events []string `json:"events,omitempty"`
}

// InstallationToken represents an installation token.
Expand Down

0 comments on commit 26f641f

Please sign in to comment.