mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-09-02 04:16:36 +02:00
refactor: tab rules
This commit is contained in:
@@ -58,7 +58,7 @@ module.exports = function (module) {
|
||||
if (params.withScores) {
|
||||
project.score = '$totalScore';
|
||||
}
|
||||
pipeline.push({ $project: project });
|
||||
pipeline.push({ $project: project });
|
||||
|
||||
let data = await module.client.collection('objects').aggregate(pipeline).toArray();
|
||||
if (!params.withScores) {
|
||||
|
||||
Reference in New Issue
Block a user