Skip to content

Commit

Permalink
Explicity mention Public Read ACL for Facility Image S3 Uploads (#2344)
Browse files Browse the repository at this point in the history
  • Loading branch information
amjithtitus09 authored Aug 12, 2024
1 parent 8709830 commit 2221b06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions care/facility/api/serializers/facility.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ def save(self, **kwargs):
Bucket=bucket_name,
Key=image_location,
Body=image.file,
ACL="public-read",
)
facility.cover_image_url = image_location
facility.save()
Expand Down

0 comments on commit 2221b06

Please sign in to comment.