Fixing error

This commit is contained in:
parth aranke 2024-06-02 06:58:39 +05:30
parent a2448bd0dc
commit b8fcd14adb

View File

@ -34,7 +34,7 @@ def upload_to_s3(processed_data, userId):
# Generate a pre-signed URL for the uploaded file
presigned_url = s3.generate_presigned_url(
'getObject',
'get_object',
Params={
'Bucket': BUCKET_NAME,
'Key': s3_key