mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-02 17:48:50 -04:00
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:
@@ -230,7 +230,7 @@ def view_letter_notification_as_preview(
|
||||
mimetype = 'image/png' if filetype == 'png' else 'application/pdf'
|
||||
|
||||
return send_file(
|
||||
filename_or_fp=file,
|
||||
path_or_file=file,
|
||||
mimetype=mimetype,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user