Skip to content

Commit

Permalink
Merge pull request #259 from AmpliconSuite/issue_258
Browse files Browse the repository at this point in the history
update API call to upload_file_to_s3 with request_file.name as it has…
  • Loading branch information
jluebeck authored Mar 29, 2024
2 parents 6b10067 + 0c00c55 commit aff4ab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caper/caper/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1970,7 +1970,7 @@ def api_helper(self, form, current_user, request_file, api_id,actual_proj_name,
# load the zip asynch to S3 for later use
file_location = f'{project_data_path}/{request_file.name}'

s3_thread = Thread(target=upload_file_to_s3, args=(f'{project_data_path}/{request_file.name}', f'{new_id.inserted_id}/{new_id.inserted_id}.tar.gz'))
s3_thread = Thread(target=upload_file_to_s3, args=(f'{request_file.name}', f'{new_id.inserted_id}/{new_id.inserted_id}.tar.gz'))
s3_thread.start()


Expand Down

0 comments on commit aff4ab0

Please sign in to comment.