mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-26 07:05:52 -05:00
MongoDB remove fix.
This commit is contained in:
parent
82ef3e8232
commit
1845950fdb
6
db.js
6
db.js
@ -1531,9 +1531,9 @@ module.exports.CreateDB = function (parent, func) {
|
||||
// MongoDB pending bulk remove operation, perform fast bulk document removes.
|
||||
function fileBulkRemoveCompleted(err) {
|
||||
// Send out callbacks
|
||||
for (var i in obj.filePendingGets) {
|
||||
for (var j in obj.filePendingGets[i]) {
|
||||
obj.filePendingGets[i][j](err);
|
||||
for (var i in obj.filePendingRemoves) {
|
||||
for (var j in obj.filePendingRemoves[i]) {
|
||||
obj.filePendingRemoves[i][j](err);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user