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

Call Cloudinary Delete Method within a Method #38

Closed
sangyoo91 opened this issue Aug 18, 2015 · 4 comments
Closed

Call Cloudinary Delete Method within a Method #38

sangyoo91 opened this issue Aug 18, 2015 · 4 comments

Comments

@sangyoo91
Copy link

How do I call a cloudinary delete method within a meteor method (server side)?

@Lepozepo
Copy link
Owner

Meteor.call("c.delete_by_public_id")

@sangyoo91
Copy link
Author

@Lepozepo Thank you.

Meteor.call("c.delete_by_public_id", publicId, function () {
  if (error) {
  } else {
  }
});

is this correct?

@Lepozepo
Copy link
Owner

Meteor.call "c.delete_by_public_id", publicId, (err,res) ->
  if not err
    # Do Stuff with res
  else
    # throw new Meteor.Error "it failed miserably"

@fabyeah
Copy link

fabyeah commented Sep 7, 2015

Thank you. This should be in the docs!

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

3 participants