apexify.js 2.3.6 → 2.3.7
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.
|
@@ -235,11 +235,11 @@ function starter(client, options) {
|
|
|
235
235
|
_k.label = 26;
|
|
236
236
|
case 26:
|
|
237
237
|
_k.trys.push([26, 30, , 31]);
|
|
238
|
-
return [4 /*yield*/, (0,
|
|
238
|
+
return [4 /*yield*/, (0, mongoConnect)(options.mongo.mongoURI, options.mongo.dataName)];
|
|
239
239
|
case 27:
|
|
240
240
|
_k.sent();
|
|
241
241
|
if (!(options.mongo.initialize === true)) return [3 /*break*/, 29];
|
|
242
|
-
return [4 /*yield*/, (0,
|
|
242
|
+
return [4 /*yield*/, (0, initializeDb)(20000)];
|
|
243
243
|
case 28:
|
|
244
244
|
_k.sent();
|
|
245
245
|
_k.label = 29;
|