Reflect change in argument name

`filename_or_fp` was changed to `path_or_file` here:
https://github.com/pallets/flask/pull/3828/files#diff-1f51c8ded4d4ff7e13badab599ef22436c529c2b5f9c25dc6250c1f9fd985440R479
This commit is contained in:
Chris Hill-Scott
2022-05-27 15:33:48 +01:00
parent 78a1a3099d
commit 2a62586799
3 changed files with 3 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ def get_mou(organisation_is_crown):
try:
key = get_s3_object(bucket, filename)
return {
'filename_or_fp': key.get()['Body'],
'path_or_file': key.get()['Body'],
'attachment_filename': attachment_filename,
'as_attachment': True,
}