mirror of
https://github.com/makeplane/plane.git
synced 2026-07-13 05:49:40 +02:00
fix: worklog exports (#1559)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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}",
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user