MongoDB remove fix.

This commit is contained in:
Ylian Saint-Hilaire 2021-01-26 13:06:18 -08:00
parent 82ef3e8232
commit 1845950fdb
1 changed files with 3 additions and 3 deletions

6
db.js
View File

@ -1531,9 +1531,9 @@ module.exports.CreateDB = function (parent, func) {
// MongoDB pending bulk remove operation, perform fast bulk document removes. // MongoDB pending bulk remove operation, perform fast bulk document removes.
function fileBulkRemoveCompleted(err) { function fileBulkRemoveCompleted(err) {
// Send out callbacks // Send out callbacks
for (var i in obj.filePendingGets) { for (var i in obj.filePendingRemoves) {
for (var j in obj.filePendingGets[i]) { for (var j in obj.filePendingRemoves[i]) {
obj.filePendingGets[i][j](err); obj.filePendingRemoves[i][j](err);
} }
} }