From 4929a6ac083984517cf8461818e2e3d81d9cc2bb Mon Sep 17 00:00:00 2001 From: Pea Tyczynska Date: Tue, 18 Dec 2018 18:21:03 +0000 Subject: [PATCH] Include postage in checking if template changed --- app/template/rest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/template/rest.py b/app/template/rest.py index 9dc32c94f..79b1d7d8b 100644 --- a/app/template/rest.py +++ b/app/template/rest.py @@ -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') )