Skip to content

Commit 59f41ca

Browse files
selfcontainedwillnorris
authored andcommitted
adding URL property to Hook struct
1 parent e5099d7 commit 59f41ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

github/repos_hooks.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ type Hook struct {
7070
CreatedAt *time.Time `json:"created_at,omitempty"`
7171
UpdatedAt *time.Time `json:"updated_at,omitempty"`
7272
Name *string `json:"name,omitempty"`
73+
URL *string `json:"url,omitempty"`
7374
Events []string `json:"events,omitempty"`
7475
Active *bool `json:"active,omitempty"`
7576
Config map[string]interface{} `json:"config,omitempty"`

0 commit comments

Comments
 (0)