mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-22 08:20:36 +01:00
ESlint no-unused-vars
This commit is contained in:
@@ -18,7 +18,7 @@ helpers.notAllowed = function (req, res, error) {
|
||||
req: req,
|
||||
res: res,
|
||||
error: error,
|
||||
}, function (err, data) {
|
||||
}, function (err) {
|
||||
if (err) {
|
||||
return winston.error(err);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user