Skip to content

Commit

Permalink
Add missing json tag
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmelin committed Jan 28, 2023
1 parent e2e75d9 commit 7b1ed28
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cmd/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ type Event struct {
}

type Hook struct {
Id int `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Active bool `json:"active,omitempty"`
Events []string `json:"events,omitempty"`
Config HookConfig
Id int `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Active bool `json:"active,omitempty"`
Events []string `json:"events,omitempty"`
Config HookConfig `json:"config,omitempty"`
}

type HookConfig struct {
Expand Down

0 comments on commit 7b1ed28

Please sign in to comment.