Skip to content

Commit 5897035

Browse files
committed
with getting indexes
1 parent 4070a9b commit 5897035

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/Adapters/Storage/Mongo/MongoStorageAdapter.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -571,13 +571,11 @@ export class MongoStorageAdapter {
571571

572572
// map out promises from individual classes
573573
const promises = classes.map(() => { // schema
574-
575-
574+
576575
/* eslint-disable no-console */
577-
//console.info(`>>>>>> Preparing for ` + schema.className);
576+
console.info(`>>>>>> Preparing for ` + schema.className);
578577
/* eslint-enable no-console */
579578

580-
/*
581579
// get indexes for this given collection
582580
return this.getIndexes(schema.className).then(() => { // indexes
583581

@@ -594,7 +592,6 @@ export class MongoStorageAdapter {
594592
}));
595593

596594
});
597-
*/
598595
});
599596
return Promise.all(promises);
600597
});

0 commit comments

Comments
 (0)