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

@@ -198,7 +198,7 @@ export class MongoStorageAdapter {
}
// Executes a find. Accepts: className, query in Parse format, and { skip, limit, sort }.
find(className, query, { skip, limit, sort }, schema) {
find(className, query, schema, { skip, limit, sort }) {
let mongoWhere = this.transform.transformWhere(className, query, schema);
return this.adaptiveCollection(className)
.then(collection => collection.find(mongoWhere, { skip, limit, sort }))