Remove schemaController parameter

This commit is contained in:
Drew Gross
2016-05-23 17:18:46 -07:00
parent e440046be4
commit 7dca7e20b0
3 changed files with 11 additions and 11 deletions

View File

@@ -202,7 +202,7 @@ export class MongoStorageAdapter {
find(className, query, { skip, limit, sort }, schemaController, schema) {
return this.adaptiveCollection(className)
.then(collection => collection.find(query, { skip, limit, sort }))
.then(objects => objects.map(object => transform.mongoObjectToParseObject(schemaController, className, object, schema)));
.then(objects => objects.map(object => transform.mongoObjectToParseObject(className, object, schema)));
}
get transform() {