mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 04:06:17 +02:00
fix: accidental hardcoded cid
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user