mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-18 21:44:11 -04:00
Merge pull request #496 from alphagov/fix-large-file-uploads
Fix bug with large file uploads
This commit is contained in:
@@ -110,7 +110,7 @@ def send_messages(service_id, template_id):
|
||||
service_id,
|
||||
{
|
||||
'file_name': form.file.data.filename,
|
||||
'data': form.file.data.getvalue().decode('utf-8')
|
||||
'data': form.file.data.read().decode('utf-8')
|
||||
},
|
||||
current_app.config['AWS_REGION']
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user