fix(core): update
This commit is contained in:
parent
6eb43a4b9f
commit
cea6c662ac
@ -54,7 +54,8 @@ export class SmartdataDb {
|
||||
}
|
||||
console.log(`connection Url: ${finalConnectionUrl}`);
|
||||
this.mongoDbClient = await plugins.mongodb.MongoClient.connect(finalConnectionUrl, {
|
||||
useNewUrlParser: true
|
||||
useNewUrlParser: true,
|
||||
useUnifiedTopology: true
|
||||
});
|
||||
this.mongoDb = this.mongoDbClient.db(this.smartdataOptions.mongoDbName);
|
||||
this.status = 'connected';
|
||||
|
Loading…
Reference in New Issue
Block a user