mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-17 19:21:04 +01:00
Fix space-before-function-paren linter rule
This commit is contained in:
@@ -17,7 +17,7 @@ var terms = {
|
||||
monthly: 'month'
|
||||
};
|
||||
|
||||
popularController.get = function(req, res, next) {
|
||||
popularController.get = function (req, res, next) {
|
||||
|
||||
var term = terms[req.params.term];
|
||||
|
||||
@@ -39,7 +39,7 @@ popularController.get = function(req, res, next) {
|
||||
}
|
||||
}
|
||||
|
||||
topics.getPopular(term, req.uid, meta.config.topicsPerList, function(err, topics) {
|
||||
topics.getPopular(term, req.uid, meta.config.topicsPerList, function (err, topics) {
|
||||
if (err) {
|
||||
return next(err);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user