@bprotsyk/aso-core 1.2.62 → 1.2.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -165,8 +165,8 @@ async function updateSchemaAndMoveValue(model) {
165
165
  }
166
166
  ];
167
167
  let aggregation = model.aggregate(pipelineStage);
168
- model.collection.dropIndex("generationOptions.keyDeveloperName_1");
169
- model.collection.dropIndex("generationOptions.keyPassword_1");
168
+ await model.collection.dropIndex("generationOptions.keyDeveloperName_1");
169
+ await model.collection.dropIndex("generationOptions.keyPassword_1");
170
170
  await aggregation.exec();
171
171
  // const updateOperation: UpdateQuery<IFlashApp> = {
172
172
  // $set: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bprotsyk/aso-core",
3
- "version": "1.2.62",
3
+ "version": "1.2.63",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
@@ -217,8 +217,8 @@ export async function updateSchemaAndMoveValue(model: Model<IFlashApp>): Promise
217
217
  ]
218
218
 
219
219
  let aggregation = model.aggregate(pipelineStage)
220
- model.collection.dropIndex("generationOptions.keyDeveloperName_1")
221
- model.collection.dropIndex("generationOptions.keyPassword_1")
220
+ await model.collection.dropIndex("generationOptions.keyDeveloperName_1")
221
+ await model.collection.dropIndex("generationOptions.keyPassword_1")
222
222
  await aggregation.exec()
223
223
 
224
224
  // const updateOperation: UpdateQuery<IFlashApp> = {