fix: worklog exports (#1559)

This commit is contained in:
Nikhil
2024-10-21 13:03:34 +05:30
committed by GitHub
parent d1a4445f3a
commit 317e502166
2 changed files with 1 additions and 3 deletions

View File

@@ -84,7 +84,7 @@ def upload_to_s3(zip_file, workspace_id, token_id, slug):
zip_file,
settings.AWS_STORAGE_BUCKET_NAME,
file_name,
ExtraArgs={"ACL": "public-read", "ContentType": "application/zip"},
ExtraArgs={"ContentType": "application/zip"},
)
# Generate presigned url for the uploaded file with different base

View File

@@ -77,7 +77,6 @@ def upload_to_s3(files, workspace_id, token_id, slug, provider):
settings.AWS_STORAGE_BUCKET_NAME,
file_name,
ExtraArgs={
"ACL": "public-read",
"ContentType": f"application/{provider}",
},
)
@@ -124,7 +123,6 @@ def upload_to_s3(files, workspace_id, token_id, slug, provider):
settings.AWS_STORAGE_BUCKET_NAME,
file_name,
ExtraArgs={
"ACL": "public-read",
"ContentType": f"application/{provider}",
},
)