shubh28 / safeslot

2 stars 2 forks source link

Delete old images from AWS S3 when it is updated with a new one #97

Open omkarrane opened 4 years ago

omkarrane commented 4 years ago

Whenever a customer uploads an image, it gets saved to an AWS S3 bucket. But the user also has an option to re-upload/update the images. When he does that, the old images from S3 should get deleted and these new ones should be stored instead.