Open suprafly opened 5 years ago
In fact, I can pass any random string into the delete function and it will return a success tuple.
To debug this you might want to give the PR I just opened (#60) a try, as this is going to get you the actual object returned by the cloudinary API when deleting an asset as well.
I am calling
Cloudex.delete(public_id)
and my asset is not deleted. Subsequent calls also return the same success tuple, which seems strange as well.I looked into the code and it seems like the
delete_url
function might be incorrect - Cloudinary's api shows adestroy
slug in the API endpoint.