mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-08-26 20:17:18 +02:00
tests: fix some but not all tests
This commit is contained in:
@@ -49,7 +49,7 @@ module.exports = function (Categories) {
|
||||
return category;
|
||||
}, {});
|
||||
}
|
||||
categories.splice(cids.indexOf(-1), 1, subset || worldCategory);
|
||||
categories.splice(cids.indexOf(-1), 1, subset || { ...worldCategory });
|
||||
}
|
||||
|
||||
const result = await plugins.hooks.fire('filter:category.getFields', {
|
||||
|
||||
Reference in New Issue
Block a user