Bump utils to 38.0.0

Brings in breaking change to how the `RecipientCSV` class should be
instantiated.
This commit is contained in:
Chris Hill-Scott
2020-04-20 15:18:40 +01:00
parent 16734595e7
commit e366ad29ae
3 changed files with 5 additions and 7 deletions

View File

@@ -126,9 +126,7 @@ def get_recipient_csv_and_template_and_sender_id(job):
template = db_template._as_utils_template()
contents, meta_data = s3.get_job_and_metadata_from_s3(service_id=str(job.service_id), job_id=str(job.id))
recipient_csv = RecipientCSV(file_data=contents,
template_type=template.template_type,
placeholders=template.placeholders)
recipient_csv = RecipientCSV(contents, template=template)
return recipient_csv, template, meta_data.get("sender_id")