Closed dottodot closed 10 years ago
I have the following to upload a file
var file = req.files.file.path; client.documents.uploadFile(file, function (err, res) { if (err) { console.log(err); return; } res.send(res); });
but I'm getting a successful response through the err callback not the res callback.
Wow, good catch. Looks like the statusCode can be 202 for that response, which is causing the default handler to think it was a failure. I'll patch this up today. Thanks!
I have the following to upload a file
but I'm getting a successful response through the err callback not the res callback.