mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
refactor: remove log
This commit is contained in:
@@ -173,7 +173,7 @@ module.exports = function (Topics) {
|
|||||||
views: sortViews,
|
views: sortViews,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
console.log(params.sort);
|
|
||||||
const topicData = await Topics.getTopicsFields(tids, fields);
|
const topicData = await Topics.getTopicsFields(tids, fields);
|
||||||
const sortFn = sortMap.hasOwnProperty(params.sort) && sortMap[params.sort] ?
|
const sortFn = sortMap.hasOwnProperty(params.sort) && sortMap[params.sort] ?
|
||||||
sortMap[params.sort] : sortRecent;
|
sortMap[params.sort] : sortRecent;
|
||||||
|
|||||||
Reference in New Issue
Block a user