Node.js based forum software built for the modern web
test: fix spec, remove log
Barış Soner Uşaklı05dd46c31fd0
diff --git a/public/openapi/read/world.yaml b/public/openapi/read/world.yamlindex d5d95461e5..d4bf00a658 100644--- a/public/openapi/read/world.yaml+++ b/public/openapi/read/world.yaml@@ -45,6 +45,8 @@ get:nullable: truetitle:type: string+ topicCount:+ type: numbercategories:type: arrayitems:diff --git a/src/controllers/activitypub/topics.js b/src/controllers/activitypub/topics.jsindex 59eed289c1..11cc8368f4 100644--- a/src/controllers/activitypub/topics.js+++ b/src/controllers/activitypub/topics.js@@ -122,7 +122,6 @@ controller.list = async function (req, res) {data.title = translator.escape(data.name);data.breadcrumbs = helpers.buildBreadcrumbs([]);- console.log(data.topicCount, topicsPerPage);const pageCount = Math.max(1, Math.ceil(data.topicCount / topicsPerPage));data.pagination = pagination.create(page, pageCount, req.query);helpers.addLinkTags({