fix: accidental hardcoded cid

This commit is contained in:
Julian Lam
2026-03-12 12:41:39 -04:00
parent 10e4d57996
commit 464bc27574

View File

@@ -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) => {