mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-14 17:56:16 +01:00
fix: wrong data passed to getCategories
This commit is contained in:
@@ -154,7 +154,7 @@ async function getTopics(tids, data) {
|
||||
const topicsData = await topics.getTopicsData(tids);
|
||||
const cids = _.uniq(topicsData.map(topic => topic && topic.cid));
|
||||
const [categories, tags] = await Promise.all([
|
||||
getCategories(topicsData, data),
|
||||
getCategories(cids, data),
|
||||
getTags(tids, data),
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user