mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-03 19:11:22 +01:00
running eslint again
This commit is contained in:
@@ -69,7 +69,7 @@ module.exports = function (Groups) {
|
||||
async.series(tasks, next);
|
||||
},
|
||||
function (results, next) {
|
||||
plugins.fireHook('action:group.create', {group: groupData});
|
||||
plugins.fireHook('action:group.create', { group: groupData });
|
||||
next(null, groupData);
|
||||
},
|
||||
], callback);
|
||||
|
||||
@@ -42,7 +42,7 @@ module.exports = function (Groups) {
|
||||
return callback(err);
|
||||
}
|
||||
Groups.resetCache();
|
||||
plugins.fireHook('action:group.destroy', {group: groupObj});
|
||||
plugins.fireHook('action:group.destroy', { group: groupObj });
|
||||
callback();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user