mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-11 09:27:56 -04:00
progress on removing postage
This commit is contained in:
@@ -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')
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -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"},
|
||||
|
||||
Reference in New Issue
Block a user