Skip to content

Commit

Permalink
Merge pull request #236 from zane-deg/fix-ruleset-rule-position
Browse files Browse the repository at this point in the history
Fix ruleset rule not respecting position "0"
  • Loading branch information
dobs committed Sep 9, 2020
2 parents ab036b7 + 20eb3cc commit 1566007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ruleset.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type ListRulesetsResponse struct {
// RulesetRule represents a Ruleset rule
type RulesetRule struct {
ID string `json:"id,omitempty"`
Position int `json:"position,omitempty"`
Position *int `json:"position,omitempty"`
Disabled bool `json:"disabled,omitempty"`
Conditions *RuleConditions `json:"conditions,omitempty"`
Actions *RuleActions `json:"actions,omitempty"`
Expand Down

0 comments on commit 1566007

Please sign in to comment.