Skip to content

Commit

Permalink
rulesets: allow PreserveQueryString to be nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbednarz committed May 4, 2023
1 parent 288fd1b commit ae7cb54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rulesets.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ type RulesetRuleActionParametersAutoMinify struct {
type RulesetRuleActionParametersFromValue struct {
StatusCode uint16 `json:"status_code,omitempty"`
TargetURL RulesetRuleActionParametersTargetURL `json:"target_url"`
PreserveQueryString bool `json:"preserve_query_string,omitempty"`
PreserveQueryString *bool `json:"preserve_query_string,omitempty"`
}

type RulesetRuleActionParametersTargetURL struct {
Expand Down

0 comments on commit ae7cb54

Please sign in to comment.