Allow letter templates to select the default contact block from the list

This commit is contained in:
chrisw
2018-01-03 10:44:36 +00:00
parent db2fad1a75
commit 7271d4fbde
15 changed files with 875 additions and 40 deletions

View File

@@ -187,6 +187,16 @@ class ServiceAPIClient(NotifyAdminAPIClient):
),
)
def update_service_template_sender(self, service_id, template_id, reply_to):
data = {
'reply_to': reply_to,
}
data = _attach_current_user(data)
return self.post(
"/service/{0}/template/{1}".format(service_id, template_id),
data
)
def get_service_template(self, service_id, template_id, version=None, *params):
"""
Retrieve a service template.