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

This commit is contained in:
Joseph Chen
2014-11-06 17:33:58 -08:00
parent 11c9b74faf
commit a1e54fda23

View File

@@ -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);
}