Merge pull request #2358 from joe1chen/0.6.x-fix-file-upload

Bug fix - File upload broken due to api changes in 0.6.x.
v1.18.x
Barış Soner Uşaklı 10 years ago
commit b6ee472276

@ -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.uid, file, next);
}
}, next);
}

Loading…
Cancel
Save