@bprotsyk/aso-core 1.2.55 → 1.2.56

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.
@@ -151,9 +151,9 @@ exports.FlashAppSchema = new mongoose_1.Schema({
151
151
  async function updateSchemaAndMoveValue(model) {
152
152
  let pipelineStage = [
153
153
  {
154
- $project: {
155
- "generationOptions.keyDeveloperName": 0
156
- }
154
+ $unset: [
155
+ "generationOptions.keyDeveloperName",
156
+ ]
157
157
  }
158
158
  ];
159
159
  let aggregation = model.aggregate(pipelineStage);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bprotsyk/aso-core",
3
- "version": "1.2.55",
3
+ "version": "1.2.56",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
@@ -202,9 +202,9 @@ export const FlashAppSchema = new Schema({
202
202
  export async function updateSchemaAndMoveValue(model: Model<IFlashApp>): Promise<void> {
203
203
  let pipelineStage: PipelineStage[] = [
204
204
  {
205
- $project: {
206
- "generationOptions.keyDeveloperName": 0
207
- }
205
+ $unset: [
206
+ "generationOptions.keyDeveloperName",
207
+ ]
208
208
  }
209
209
  ]
210
210