mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-16 10:46:14 +01:00
chore: eslint prefer-arrow-callback
This commit is contained in:
committed by
Julian Lam
parent
707b55b6a5
commit
b56d9e12b5
@@ -37,7 +37,7 @@ module.exports = function (Categories) {
|
||||
fields.splice(0, 0, fields.splice(parentCidIndex, 1)[0]);
|
||||
}
|
||||
|
||||
await async.eachSeries(fields, async function (key) {
|
||||
await async.eachSeries(fields, async (key) => {
|
||||
await updateCategoryField(cid, key, category[key]);
|
||||
});
|
||||
plugins.hooks.fire('action:category.update', { cid: cid, modified: category });
|
||||
|
||||
Reference in New Issue
Block a user