Consistent parameter order

This commit is contained in:
Drew Gross
2016-05-23 20:22:04 -07:00
parent a763f7c2fc
commit d428041a83
2 changed files with 2 additions and 2 deletions

View File

@@ -698,7 +698,7 @@ DatabaseController.prototype.find = function(className, query, {
if (count) {
return this.adapter.count(className, query, schema);
} else {
return this.adapter.find(className, query, mongoOptions, schema)
return this.adapter.find(className, query, schema, mongoOptions)
.then(objects => objects.map(object => filterSensitiveData(isMaster, aclGroup, className, object)));
}
});