Remove the template_postage parameter for persist_notification

It was confusing to have 2 differnt postage parameters.
This commit is contained in:
Rebecca Law
2020-08-04 15:41:42 +01:00
parent 10fe7d9fe8
commit 4a9f9e4b17
7 changed files with 11 additions and 20 deletions

View File

@@ -354,7 +354,7 @@ def save_letter(
saved_notification = persist_notification(
template_id=notification['template'],
template_version=notification['template_version'],
template_postage=template.postage,
postage=template.postage,
recipient=recipient,
service=service,
personalisation=notification['personalisation'],