Skip to content

Commit cf0a4b2

Browse files
committed
remove adaptive collection call
1 parent 14938bb commit cf0a4b2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Controllers/DatabaseController.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -679,8 +679,7 @@ DatabaseController.prototype.find = function(className, query, {
679679
return (isMaster ? Promise.resolve() : schemaController.validatePermission(className, aclGroup, op))
680680
.then(() => this.reduceRelationKeys(className, query))
681681
.then(() => this.reduceInRelation(className, query, schemaController))
682-
.then(() => this.adapter.adaptiveCollection(className))
683-
.then(collection => {
682+
.then(() => {
684683
if (!isMaster) {
685684
query = this.addPointerPermissions(schemaController, className, op, query, aclGroup);
686685
}

0 commit comments

Comments
 (0)