Skip to main content

I think don't use 'uploader'


1 comment

  • Eric Pasos

    Hi Choyen,

    When the v2 is already declared during object instantiation, it is no longer needed when calling the methods (as described in this documentation: For example:

    var cloudinary = require('cloudinary').v2;
    cloudinary.uploader.upload("my_image.jpg", function(error, result) {console.log(result, error)});

    Hope this helps.


Post is closed for comments.