dont use _ in metadata
All checks were successful
Build and Publish / build-release (push) Successful in 49s

This commit is contained in:
2026-04-24 15:16:36 -05:00
parent c952063d7b
commit 1550fc7599
2 changed files with 48 additions and 53 deletions

View File

@@ -90,10 +90,6 @@ def upload_file(file: UploadFile, s3_key: str, content_type: str, metadata: dict
file_content = file.file.read()
file.file.seek(0)
extra_args = {"ContentType": content_type}
if metadata:
extra_args["Metadata"] = metadata
client.put_object(
Bucket=bucket_name,
Key=s3_key,