From 9c0b9171a1c2c0e66b430be9f9fb5f0d20e9e6e7 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Fri, 12 Apr 2019 16:05:29 +0100 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20require=20a=20domain=20when=20u?= =?UTF-8?q?pdating=20the=20letter=20branding?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit So the admin is free to stop passing it in. --- app/letter_branding/letter_branding_schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/letter_branding/letter_branding_schema.py b/app/letter_branding/letter_branding_schema.py index 5f91bf829..c6882a095 100644 --- a/app/letter_branding/letter_branding_schema.py +++ b/app/letter_branding/letter_branding_schema.py @@ -7,5 +7,5 @@ post_letter_branding_schema = { "filename": {"type": ["string", "null"]}, "domain": {"type": ["string", "null"]}, }, - "required": ("name", "filename", "domain") + "required": ("name", "filename") }