mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 08:06:51 +02:00
fix: accidental hardcoded cid
This commit is contained in:
@@ -224,7 +224,7 @@ Controller.getCategoryOutbox = async (req, res) => {
|
|||||||
count,
|
count,
|
||||||
page,
|
page,
|
||||||
perPage: 20,
|
perPage: 20,
|
||||||
url: `${nconf.get('url')}/category/1/outbox`,
|
url: `${nconf.get('url')}/category/${cid}/outbox`,
|
||||||
});
|
});
|
||||||
if (collection.orderedItems) {
|
if (collection.orderedItems) {
|
||||||
collection.orderedItems = await Promise.all(collection.orderedItems.map(async (pid) => {
|
collection.orderedItems = await Promise.all(collection.orderedItems.map(async (pid) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user