cloudinary
cloudinary copied to clipboard
TypeError: undefined is not an object (evaluating '_cloudinary.after.update')
When try to use this code client side:
_cloudinary.after.update(function(user,file){
if(file.percent_uploaded === 100 && !file.uploading){
console.log(file);
}
})
got this error:
TypeError: undefined is not an object (evaluating '_cloudinary.after.update')
Seems to be _cloudinary object doesn't have .after attribute/method:
[Log] Object (admin.js, line 1)
_collection: Object
_connection: null
_insecure: undefined
_makeNewID: function () { // 71
_name: null
_restricted: false
_transform: null
_validators: Object
__proto__: Object