/Users/dimus/.meteorite/packages/cloudinary/Lepozepo/cloudinary/037bd59917c2d59a22761e64b5d4cf0cfe58c519/.build/npm/node_modules/cloudinary/lib/api.coffee:298
return callback(result);
^
TypeError: undefined is not a function
at IncomingMessage.<anonymous> (/Users/dimus/.meteorite/packages/cloudinary/Lepozepo/cloudinary/037bd59917c2d59a22761e64b5d4cf0cfe58c519/.build/npm/node_modules/cloudinary/lib/api.coffee:298:18)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)
I think problem is somewhere out here:
server.js
cloudinary_delete:function(public_id){
//This isn't very safe, lol
this.unblock();
Cloudinary.api.delete_resources([public_id]);
},
In my code I try to delete image from cloudinary this way:
Image successfully deletes, but in console I see:
I think problem is somewhere out here:
server.js
api.coffee
There is not callback set in Cloudinary.api.delete_resources call.
Can you comment on that?