Bug fix - File upload broken due to api changes in 0.6.x.

v1.18.x
Joseph Chen 10 years ago
parent 11c9b74faf
commit a1e54fda23

@ -57,7 +57,7 @@ function uploadPost(req, res, next) {
if(file.type.match(/image./)) {
uploadImage(req.user.uid, file, next);
} else {
uploadFile(file, next);
uploadFile(req.user, file, next);
}
}, next);
}

Loading…
Cancel
Save