move admin upload routes to api namespace

move usrrs/csv to api namespace
This commit is contained in:
barisusakli
2015-03-07 20:19:00 -05:00
parent f87f797bed
commit dc94fe2b6c
6 changed files with 15 additions and 19 deletions

View File

@@ -27,10 +27,7 @@ file.saveFileToLocal = function(filename, folder, tempPath, callback) {
});
});
os.on('error', function (err) {
winston.error(err.message);
callback(err);
});
os.on('error', callback);
is.pipe(os);
};