Skip to content

Commit 4b2f230

Browse files
haya14busagmlewis
authored andcommitted
Fix JSON unmarshal error of App.app.events (#1370)
1 parent 78e8856 commit 4b2f230

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github/apps.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ type App struct {
3030
CreatedAt *Timestamp `json:"created_at,omitempty"`
3131
UpdatedAt *Timestamp `json:"updated_at,omitempty"`
3232
Permissions *InstallationPermissions `json:"permissions,omitempty"`
33-
Events []*Event `json:"events,omitempty"`
33+
Events []string `json:"events,omitempty"`
3434
}
3535

3636
// InstallationToken represents an installation token.

0 commit comments

Comments
 (0)