I'm deleting my videos and after receiving a 200 OK response - the resources are still there

Follow

Comments

2 comments

  • Avatar
    Isaac Pak

    The callback should be the last parameter shouldn't it?

    0
    Comment actions Permalink
  • Avatar
    Stephen Doyle

    Hi Isaak,

    The callback is the last parameter in the 'v2' methods in the SDK, but the methods without 'v2' still support the older convention, which has the callback earlier. This was changed due to what you said, the callback being the last parameters as a common Node convention, but both are supported depending on which version of the method you use. 

    If you use cloudinary.v2.api.delete_resources, the callback is the last parameter.

    Thanks,

    Stephen

    0
    Comment actions Permalink

Please sign in to leave a comment.