arvindr21 / blueimp-file-upload-expressjs

A simple express module for integrating jQuery File Upload.
http://expressjs-fileupload.cloudno.de/
104 stars 69 forks source link

updated doc on error as last argument #26

Closed ganeshten closed 9 years ago

arvindr21 commented 9 years ago

And the error callback is implemented only for aws uploads right? Can you please mention that too.

arvindr21 commented 9 years ago

I am at work now.. Will test this one and update this PR. Thanks for the contribution.

ganeshten commented 9 years ago

got it :)

arvindr21 commented 9 years ago

@ganeshten I did check and there is no var named redirect returned. The second argument should be error. You can update the same and send me the request, I will merge it.

ganeshten commented 9 years ago

Hi @arvindr21, Please checkout line 275 in index.js

 callback({
files: files
}, redirect);

The second parameter is redirect and the callback is the function we pass to post.

arvindr21 commented 9 years ago

My bad! Thanks for pointing it out!