Node.js based forum software built for the modern web
tests: fix some but not all tests
Julian Lam76453650073e
diff --git a/public/openapi/read.yaml b/public/openapi/read.yamlindex 822c1615f8..aa0aeffa15 100644--- a/public/openapi/read.yaml+++ b/public/openapi/read.yaml@@ -326,7 +326,5 @@ paths:$ref: 'read/groups/slug/members.yaml'"/api/world":$ref: 'read/world.yaml'- "/api/world/{filter}":- $ref: 'read/world.yaml'/api/outgoing:$ref: 'read/outgoing.yaml'\ No newline at end of filediff --git a/public/openapi/read/world.yaml b/public/openapi/read/world.yamlindex 3cf3203ecb..2b29fbc247 100644--- a/public/openapi/read/world.yaml+++ b/public/openapi/read/world.yaml@@ -56,16 +56,16 @@ get:# type: array# items:# type: number- # selectedTag:- # type: object- # properties:- # label:- # type: string- # nullable: true- # selectedTags:- # type: array- # items:- # type: string+ selectedTag:+ type: object+ properties:+ label:+ type: string+ nullable: true+ selectedTags:+ type: array+ items:+ type: stringisWatched:type: booleanisTracked:diff --git a/src/categories/data.js b/src/categories/data.jsindex d0bec60f9c..9173e9ae9c 100644--- a/src/categories/data.js+++ b/src/categories/data.js@@ -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', {