Skip to content

Commit

Permalink
Allowed null value for trial days on tier
Browse files Browse the repository at this point in the history
refs TryGhost/Ghost@e26c977

- makes tiers validation to be more liberal by allowing setting `null` for `trial_days` in API
  • Loading branch information
rishabhgrg committed Aug 9, 2022
1 parent 9251588 commit 57bce6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/admin-api-schema/lib/schemas/tiers.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"type": ["number", "null"]
},
"trial_days": {
"type": "number"
"type": ["number", "null"]
},
"benefits": {
"type": ["array", "null"],
Expand Down

0 comments on commit 57bce6c

Please sign in to comment.