Cloudinary async upload


#1

Meteor version: 1.3.2.4
Front: React
I am trying to upload image to cloudinary using

Cloudinary.upload(files, {
  folder: "recipe-category",
  width: 300, height: 200, crop: "fill"
}, function(err, res) {
  if (!err)
  {
    return console.log("Upload Result: " + res.public_id);
  }
});

I would like to get the public_id. How can i wrap it with Meteor. wrapAsync and get the id
Thanks in advance