mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-16 10:46:14 +01:00
ESlint object-curly-spacing
This commit is contained in:
@@ -41,7 +41,7 @@ module.exports = function (Categories) {
|
||||
}
|
||||
},
|
||||
function (next) {
|
||||
plugins.fireHook('filter:category.update', {category: modifiedFields}, next);
|
||||
plugins.fireHook('filter:category.update', { category: modifiedFields }, next);
|
||||
},
|
||||
function (categoryData, next) {
|
||||
category = categoryData.category;
|
||||
@@ -57,7 +57,7 @@ module.exports = function (Categories) {
|
||||
}, next);
|
||||
},
|
||||
function (next) {
|
||||
plugins.fireHook('action:category.update', {cid: cid, modified: category});
|
||||
plugins.fireHook('action:category.update', { cid: cid, modified: category });
|
||||
next();
|
||||
},
|
||||
], callback);
|
||||
|
||||
Reference in New Issue
Block a user