Include postage in checking if template changed

This commit is contained in:
Pea Tyczynska
2018-12-18 18:21:03 +00:00
parent 1b30e86707
commit 4929a6ac08

View File

@@ -203,7 +203,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')
for key in ('name', 'content', 'subject', 'archived', 'process_type', 'postage')
)