Skip to main content

I think don't use 'uploader'

Comments

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: https://cloudinary.com/documentation/node_integration#installation_and_setup). For example:

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

    Hope this helps.

    3

Post is closed for comments.