Merge pull request #746 from framp/master

Added missing callback when results are filtered
This commit is contained in:
Raymond Feng 2015-10-28 08:37:16 -07:00
commit 4a6b6eb9aa
1 changed files with 2 additions and 0 deletions

View File

@ -1464,6 +1464,8 @@ DataAccessObject.find = function find(query, options, cb) {
results.push(obj);
callback();
});
} else {
callback();
}
},
function(err) {