mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-18 03:31:03 +01:00
feat: update to mongodb 6.1 (#12087)
This commit is contained in:
committed by
GitHub
parent
212a341575
commit
e542b27d1d
@@ -435,6 +435,7 @@ module.exports = function (module) {
|
||||
$inc: data,
|
||||
}, {
|
||||
returnDocument: 'after',
|
||||
includeResultMetadata: true,
|
||||
upsert: true,
|
||||
});
|
||||
return result && result.value ? result.value.score : null;
|
||||
|
||||
Reference in New Issue
Block a user