Proactively specify aws region for s3 operations

This commit is contained in:
Ryan Ahearn
2022-09-26 10:25:03 -04:00
parent d9823de61d
commit 5f1a1f083a
13 changed files with 47 additions and 23 deletions

View File

@@ -147,7 +147,6 @@ def send_messages(service_id, template_id):
upload_id = s3upload(
service_id,
Spreadsheet.from_file_form(form).as_dict,
current_app.config['AWS_REGION']
)
file_name_metadata = unicode_truncate(
SanitiseASCII.encode(form.file.data.filename),