cloudinary-community / cloudinary-laravel

Laravel SDK for Cloudinary
MIT License
255 stars 71 forks source link

Fix detachMedia deleting all files #96

Closed Delaney closed 7 months ago

Delaney commented 7 months ago

Summary

Fixes bug where non-null value in detachMedia method deletes only the specified media's model but deletes all associated media in the cloud.

Ticket Link

Fixes https://github.com/cloudinary-devs/cloudinary-laravel/issues/51

Release Note

- Fix DetachMedia bug
- Add functionality to pass collection of Media to DetachMedia
colbyfayock commented 7 months ago

@Delaney congrats on the merged PR! since it's officially October, you've always qualified for Hacktoberfest swag! please email hacktoberfest@cloudinary.com with your github username and this PR where I'll follow up to request more information for getting you your swag

https://cloudinary.com/blog/hacktoberfest-celebrate-open-source-sdks