mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 10:21:14 -05:00
reformat
This commit is contained in:
@@ -16,13 +16,9 @@ post_create_template_schema = {
|
||||
"created_by": uuid,
|
||||
"parent_folder_id": uuid,
|
||||
},
|
||||
"if": {
|
||||
"properties": {
|
||||
"template_type": {"enum": ["email"]}
|
||||
}
|
||||
},
|
||||
"if": {"properties": {"template_type": {"enum": ["email"]}}},
|
||||
"then": {"required": ["subject"]},
|
||||
"required": ["name", "template_type", "content", "service", "created_by"]
|
||||
"required": ["name", "template_type", "content", "service", "created_by"],
|
||||
}
|
||||
|
||||
post_update_template_schema = {
|
||||
@@ -41,6 +37,6 @@ post_update_template_schema = {
|
||||
"reply_to": nullable_uuid,
|
||||
"created_by": uuid,
|
||||
"archived": {"type": "boolean"},
|
||||
"current_user": uuid
|
||||
"current_user": uuid,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user