Merge pull request #746 from framp/master
Added missing callback when results are filtered
This commit is contained in:
commit
4a6b6eb9aa
|
@ -1464,6 +1464,8 @@ DataAccessObject.find = function find(query, options, cb) {
|
|||
results.push(obj);
|
||||
callback();
|
||||
});
|
||||
} else {
|
||||
callback();
|
||||
}
|
||||
},
|
||||
function(err) {
|
||||
|
|
Loading…
Reference in New Issue