Skip to content

Commit 57bce6c

Browse files
committed
Allowed null value for trial days on tier
refs TryGhost/Ghost@e26c977 - makes tiers validation to be more liberal by allowing setting `null` for `trial_days` in API
1 parent 9251588 commit 57bce6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/admin-api-schema/lib/schemas/tiers.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"type": ["number", "null"]
4343
},
4444
"trial_days": {
45-
"type": "number"
45+
"type": ["number", "null"]
4646
},
4747
"benefits": {
4848
"type": ["array", "null"],

0 commit comments

Comments
 (0)