Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloudex.delete/1 does not seem to delete asset #59

Open
suprafly opened this issue Jul 1, 2019 · 2 comments
Open

Cloudex.delete/1 does not seem to delete asset #59

suprafly opened this issue Jul 1, 2019 · 2 comments

Comments

@suprafly
Copy link

suprafly commented Jul 1, 2019

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 a destroy slug in the API endpoint.

@suprafly
Copy link
Author

suprafly commented Jul 1, 2019

In fact, I can pass any random string into the delete function and it will return a success tuple.

@tonnenpinguin
Copy link
Contributor

tonnenpinguin commented Jul 19, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants