Even more cleanup.

Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
Cliff Hill
2024-02-21 12:35:18 -05:00
parent 43a8b6539f
commit afc1de61f6
12 changed files with 94 additions and 85 deletions

View File

@@ -9,7 +9,7 @@ post_create_email_branding_schema = {
"name": {"type": "string"},
"text": {"type": ["string", "null"]},
"logo": {"type": ["string", "null"]},
"brand_type": {"enum": [e.value for e in BrandType]},
"brand_type": {"enum": list(BrandType)},
},
"required": ["name"],
}
@@ -23,7 +23,7 @@ post_update_email_branding_schema = {
"name": {"type": ["string", "null"]},
"text": {"type": ["string", "null"]},
"logo": {"type": ["string", "null"]},
"brand_type": {"enum": [e.value for e in BrandType]},
"brand_type": {"enum": list(BrandType)},
},
"required": [],
}