mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 23:41:17 -05:00
More tweaks, trying to get tests to be clean.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
@@ -16,7 +16,7 @@ post_create_template_schema = {
|
||||
"created_by": uuid,
|
||||
"parent_folder_id": uuid,
|
||||
},
|
||||
"if": {"properties": {"template_type": {"enum": ["email"]}}},
|
||||
"if": {"properties": {"template_type": {"enum": [TemplateType.EMAIL.value]}}},
|
||||
"then": {"required": ["subject"]},
|
||||
"required": ["name", "template_type", "content", "service", "created_by"],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user