progress on removing postage

This commit is contained in:
stvnrlly
2023-02-10 15:04:59 -05:00
parent 590b3356a1
commit ff3f2c06c0
40 changed files with 189 additions and 798 deletions

View File

@@ -199,7 +199,7 @@ def get_template_versions(service_id, template_id):
def _template_has_not_changed(current_data, updated_template):
return all(
current_data[key] == updated_template[key]
for key in ('name', 'content', 'subject', 'archived', 'process_type', 'postage')
for key in ('name', 'content', 'subject', 'archived', 'process_type')
)

View File

@@ -15,7 +15,6 @@ post_create_template_schema = {
"subject": {"type": "string"},
"created_by": uuid,
"parent_folder_id": uuid,
"postage": {"type": "string", "format": "postage"},
},
"if": {
"properties": {
@@ -39,7 +38,6 @@ post_update_template_schema = {
"process_type": {"enum": TEMPLATE_PROCESS_TYPE},
"content": {"type": "string"},
"subject": {"type": "string"},
"postage": {"type": "string", "format": "postage"},
"reply_to": nullable_uuid,
"created_by": uuid,
"archived": {"type": "boolean"},