Skip to content

Instantly share code, notes, and snippets.

@rozanovz
Created May 14, 2016 17:01
Show Gist options
  • Select an option

  • Save rozanovz/47034a5bab628f0112c67acf0c4ac0d5 to your computer and use it in GitHub Desktop.

Select an option

Save rozanovz/47034a5bab628f0112c67acf0c4ac0d5 to your computer and use it in GitHub Desktop.
return cloudinary.v2.uploader.upload( fullPathToFile, {
folder: folderName+'/'+customer+'/',
public_id: res.picName,
resource_type: "raw"
}, function(error, result){
error ? console.log(error):'';
urll = result.url;
console.log(urll);
return res
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment