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