@resolveio/server-lib 3.2.6-newrole → 3.2.7-newrole
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/index.js +3 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -49,11 +49,11 @@ var ResolveIOServer = /** @class */ (function () {
|
|
|
49
49
|
var _this = this;
|
|
50
50
|
return new Promise(function (resolve, reject) {
|
|
51
51
|
if (ResolveIOServer._serverConfig['ROOT_URL'] !== 'http://localhost:4200' && !_this._dontRunSupport) {
|
|
52
|
-
mongoose.createConnection(ResolveIOServer._serverConfig['RESOLVEIO_SUPPORT_MONGO_URL'], { useNewUrlParser: true }).then(function (db) { return __awaiter(_this, void 0, void 0, function () {
|
|
52
|
+
mongoose.createConnection(ResolveIOServer._serverConfig['RESOLVEIO_SUPPORT_MONGO_URL'], { useNewUrlParser: true, checkKeys: false }).then(function (db) { return __awaiter(_this, void 0, void 0, function () {
|
|
53
53
|
var _this = this;
|
|
54
54
|
return __generator(this, function (_a) {
|
|
55
55
|
ResolveIOServer._supportDB = db;
|
|
56
|
-
mongoose.createConnection(ResolveIOServer._serverConfig['MONGO_URL'], { useNewUrlParser: true }).then(function (dbMain) { return __awaiter(_this, void 0, void 0, function () {
|
|
56
|
+
mongoose.createConnection(ResolveIOServer._serverConfig['MONGO_URL'], { useNewUrlParser: true, checkKeys: false }).then(function (dbMain) { return __awaiter(_this, void 0, void 0, function () {
|
|
57
57
|
var serverApp;
|
|
58
58
|
return __generator(this, function (_a) {
|
|
59
59
|
switch (_a.label) {
|
|
@@ -80,7 +80,7 @@ var ResolveIOServer = /** @class */ (function () {
|
|
|
80
80
|
}
|
|
81
81
|
else {
|
|
82
82
|
ResolveIOServer._supportDB = null;
|
|
83
|
-
mongoose.createConnection(ResolveIOServer._serverConfig['MONGO_URL'], { useNewUrlParser: true }).then(function (dbMain) { return __awaiter(_this, void 0, void 0, function () {
|
|
83
|
+
mongoose.createConnection(ResolveIOServer._serverConfig['MONGO_URL'], { useNewUrlParser: true, checkKeys: false }).then(function (dbMain) { return __awaiter(_this, void 0, void 0, function () {
|
|
84
84
|
var serverApp;
|
|
85
85
|
return __generator(this, function (_a) {
|
|
86
86
|
switch (_a.label) {
|