mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-31 19:15:58 +01:00
fix typo
This commit is contained in:
@@ -486,7 +486,7 @@ accountsController.uploadPicture = function (req, res, next) {
|
||||
}
|
||||
], function(err, image) {
|
||||
fs.unlink(userPhoto.path, function(err) {
|
||||
winston.error('unabled to delete picture', err);
|
||||
winston.error('unable to delete picture', err);
|
||||
});
|
||||
if (err) {
|
||||
return next(err);
|
||||
|
||||
Reference in New Issue
Block a user