mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 11:35:55 +01:00
remove console.log
This commit is contained in:
@@ -489,7 +489,6 @@ module.exports = function(db, module) {
|
|||||||
pipeline.push({ $project: project });
|
pipeline.push({ $project: project });
|
||||||
|
|
||||||
db.collection('objects').aggregate(pipeline, function(err, data) {
|
db.collection('objects').aggregate(pipeline, function(err, data) {
|
||||||
console.log(data);
|
|
||||||
callback(err, Array.isArray(data) && data.length ? data[0].count : 0);
|
callback(err, Array.isArray(data) && data.length ? data[0].count : 0);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user