mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-05 06:01:46 -04:00
Store original filename as S3 metadata
By doing this we no longer have to store it in the session. This is the last thing that’s currently in the session, so removing it means we can drop session storage for file uploads entirely.
This commit is contained in:
@@ -555,6 +555,7 @@ def _check_messages(service_id, template_id, upload_id, preview_row, letters_as_
|
||||
notification_count=len(recipients),
|
||||
template_id=str(template_id),
|
||||
valid=True,
|
||||
original_file_name=request.args.get('original_file_name'),
|
||||
)
|
||||
else:
|
||||
session['file_uploads'].pop(upload_id)
|
||||
|
||||
Reference in New Issue
Block a user