diff --git a/controller/vdisk/file.js b/controller/vdisk/file.js index afc756f..800c0a9 100644 --- a/controller/vdisk/file.js +++ b/controller/vdisk/file.js @@ -48,7 +48,7 @@ exports.uploadFile = function(req, res, next) { ndir.mkdir(userDir, function(err) { if (err) { res.json({ - state : 'falied' + state : 'failed' }); return; } @@ -57,7 +57,7 @@ exports.uploadFile = function(req, res, next) { fs.rename(file.path, new_path, function(err) { if (err) { res.json({ - state : 'falied' + state : 'failed' }); return; }