mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 20:45:58 +01:00
ESlint object-curly-spacing
This commit is contained in:
@@ -35,7 +35,7 @@ homePageController.get = function (req, res, next) {
|
||||
categoryData = [];
|
||||
}
|
||||
|
||||
plugins.fireHook('filter:homepage.get', {routes: [
|
||||
plugins.fireHook('filter:homepage.get', { routes: [
|
||||
{
|
||||
route: 'categories',
|
||||
name: 'Categories',
|
||||
@@ -48,7 +48,7 @@ homePageController.get = function (req, res, next) {
|
||||
route: 'popular',
|
||||
name: 'Popular',
|
||||
},
|
||||
].concat(categoryData)}, function (err, data) {
|
||||
].concat(categoryData) }, function (err, data) {
|
||||
if (err) {
|
||||
return next(err);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user