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 62b01a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/1275.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
rulesets: allow `PreserveQueryString` to be nullable
```
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 62b01a5

Please sign in to comment.