Skip to content

Node.js based forum software built for the modern web

fix: accidental hardcoded cid

Julian Lam464bc2757440
diff --git a/src/controllers/activitypub/index.js b/src/controllers/activitypub/index.js
index 22da06cf6c..086e90933b 100644
--- a/src/controllers/activitypub/index.js
+++ b/src/controllers/activitypub/index.js
@@ -224,7 +224,7 @@ Controller.getCategoryOutbox = async (req, res) => {
count,
page,
perPage: 20,
- url: `${nconf.get('url')}/category/1/outbox`,
+ url: `${nconf.get('url')}/category/${cid}/outbox`,
});
if (collection.orderedItems) {
collection.orderedItems = await Promise.all(collection.orderedItems.map(async (pid) => {