From 57bce6c85fe61135878a8acab7bc113a1092c152 Mon Sep 17 00:00:00 2001 From: Rishabh Date: Tue, 9 Aug 2022 08:28:47 +0530 Subject: [PATCH] Allowed null value for trial days on tier refs https://github.com/TryGhost/Ghost/commit/e26c977c6653fb870b4e29b5e6058375fbe45f21 - makes tiers validation to be more liberal by allowing setting `null` for `trial_days` in API --- packages/admin-api-schema/lib/schemas/tiers.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/admin-api-schema/lib/schemas/tiers.json b/packages/admin-api-schema/lib/schemas/tiers.json index ea7b2e991..5921aae6b 100644 --- a/packages/admin-api-schema/lib/schemas/tiers.json +++ b/packages/admin-api-schema/lib/schemas/tiers.json @@ -42,7 +42,7 @@ "type": ["number", "null"] }, "trial_days": { - "type": "number" + "type": ["number", "null"] }, "benefits": { "type": ["array", "null"],