From d572c7228d4c4fb84530b8a33df7bd4596e01d8b Mon Sep 17 00:00:00 2001 From: Katie Smith Date: Fri, 25 Feb 2022 12:01:20 +0000 Subject: [PATCH] Allow the free SMS fragment limit to be 0 This updates the schema so that the free allowance has a minimum value of 0 instead of 1. --- app/billing/billing_schemas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/billing/billing_schemas.py b/app/billing/billing_schemas.py index 9ab8cedbf..6c9180547 100644 --- a/app/billing/billing_schemas.py +++ b/app/billing/billing_schemas.py @@ -6,7 +6,7 @@ create_or_update_free_sms_fragment_limit_schema = { "type": "object", "title": "Create", "properties": { - "free_sms_fragment_limit": {"type": "integer", "minimum": 1}, + "free_sms_fragment_limit": {"type": "integer", "minimum": 0}, }, "required": ["free_sms_fragment_limit"] }