mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
MongoDB bulk get fix.
This commit is contained in:
parent
e9bd782418
commit
cb8fc7d150
2 changed files with 3 additions and 3 deletions
2
db.js
2
db.js
|
@ -1479,7 +1479,7 @@ module.exports.CreateDB = function (parent, func) {
|
|||
}
|
||||
|
||||
// If there are not results, send out a null callback
|
||||
for (var i in obj.filePendingGets) { for (var j in obj.filePendingGets[i]) { obj.filePendingGets[i][j](err, null); } }
|
||||
for (var i in obj.filePendingGets) { for (var j in obj.filePendingGets[i]) { obj.filePendingGets[i][j](err, []); } }
|
||||
|
||||
// Move on to process any more pending get operations
|
||||
obj.filePendingGets = obj.filePendingGet;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue