I think don't use 'uploader'


1 comment

  • Avatar
    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.

    Comment actions Permalink

Please sign in to leave a comment.