mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
move admin upload routes to api namespace
move usrrs/csv to api namespace
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user