Skip to content

Commit

Permalink
omitempty on blockDurationSeconds
Browse files Browse the repository at this point in the history
  • Loading branch information
jhanrahan-sigsci committed Feb 2, 2021
1 parent 211bb49 commit 1263870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.go
Original file line number Diff line number Diff line change
Expand Up @@ -2522,7 +2522,7 @@ type AlertUpdateBody struct {
SkipNotifications bool `json:"skipNotifications,omitempty"`
Enabled bool `json:"enabled"`
Action string `json:"action"`
BlockDurationSeconds int `json:"blockDurationSeconds"`
BlockDurationSeconds int `json:"blockDurationSeconds,omitempty"`
}

// SiteTemplateRuleBody needed to update a site template rule
Expand Down

0 comments on commit 1263870

Please sign in to comment.