mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-31 19:15:58 +01:00
remove console.log
This commit is contained in:
@@ -84,7 +84,6 @@ module.exports = function (db, module) {
|
||||
return callback();
|
||||
}
|
||||
db.collection('objects').findAndModify({ _key: key }, {}, { $inc: { data: 1 } }, { new: true, upsert: true }, function (err, result) {
|
||||
console.log(result)
|
||||
callback(err, result && result.value ? result.value.data : null);
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user