Found another old s3 call. Used in avatar uploads.

This commit is contained in:
Samuel Clay 2021-09-06 17:19:58 -04:00
parent 8d5123b3a2
commit 72ef2e2f00

View file

@ -72,10 +72,10 @@ class S3Store:
s3_object = self.s3.Object(bucket_name=self.bucket_name, key=key)
if content_type:
s3_object.put(Body=file_object, ExtraArgs={
'ContentType': content_type,
'ACL': 'public-read',
})
s3_object.put(Body=file_object,
ContentType=content_type,
ACL='public-read'
)
else:
s3_object.put(Body=file_object)