@bprotsyk/aso-core 1.2.35 → 1.2.36
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.
- package/lib/flash/flash-app.js +4 -2
- package/package.json +1 -1
- package/src/flash/flash-app.ts +4 -2
package/lib/flash/flash-app.js
CHANGED
|
@@ -188,7 +188,9 @@ async function updateSchemaAndMoveValue(model) {
|
|
|
188
188
|
"generationOptions.keyCity": 0,
|
|
189
189
|
"generationOptions.keyAlias": 0,
|
|
190
190
|
"generationOptions.keyPassword": 0
|
|
191
|
-
}
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
{
|
|
192
194
|
'$addFields': {
|
|
193
195
|
'plugUrl': `$pastebinUrl`,
|
|
194
196
|
'reservePlugUrl': null,
|
|
@@ -219,7 +221,7 @@ async function updateSchemaAndMoveValue(model) {
|
|
|
219
221
|
]
|
|
220
222
|
};
|
|
221
223
|
await model.updateMany({}, [
|
|
222
|
-
|
|
224
|
+
aggregationPipeline,
|
|
223
225
|
updateOperation
|
|
224
226
|
]);
|
|
225
227
|
}
|
package/package.json
CHANGED
package/src/flash/flash-app.ts
CHANGED
|
@@ -258,7 +258,9 @@ export async function updateSchemaAndMoveValue(model: Model<IFlashAppUpdated>):
|
|
|
258
258
|
"generationOptions.keyCity": 0,
|
|
259
259
|
"generationOptions.keyAlias": 0,
|
|
260
260
|
"generationOptions.keyPassword": 0
|
|
261
|
-
}
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
{
|
|
262
264
|
'$addFields': {
|
|
263
265
|
'plugUrl': `$pastebinUrl`,
|
|
264
266
|
'reservePlugUrl': null,
|
|
@@ -291,7 +293,7 @@ export async function updateSchemaAndMoveValue(model: Model<IFlashAppUpdated>):
|
|
|
291
293
|
};
|
|
292
294
|
|
|
293
295
|
await model.updateMany({}, [
|
|
294
|
-
|
|
296
|
+
aggregationPipeline,
|
|
295
297
|
updateOperation
|
|
296
298
|
]);
|
|
297
299
|
} ``
|