Skip to content

Commit dca3978

Browse files
committed
close bracket -_-
1 parent 619d117 commit dca3978

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

backend/services/storage_service.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ def upload_image_from_url(image_url: str, filename: Optional[str] = None) -> Opt
9696
Body=image_data,
9797
ContentType=f'image/{filename.split(".")[-1]}',
9898
CacheControl='max-age=31536000',
99-
ACL='public-read'
99+
ACL='public-read'
100+
)
100101

101102
public_url = f"https://{bucket_name}.s3.{region}.amazonaws.com/{filename}"
102103
logger.info(f"Successfully uploaded image: {filename}")

0 commit comments

Comments
 (0)