Skip to content

Commit

Permalink
Merge 735eee0 into e1cb3c3
Browse files Browse the repository at this point in the history
  • Loading branch information
devsnowy committed Nov 30, 2019
2 parents e1cb3c3 + 735eee0 commit f43d04e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/database.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ module.exports = class Database extends EventEmitter {
.then(parsedUrl => parsedUrl.dbName)
.then(dbName => {
return mongodb.MongoClient
.connect(this.connectionString, { useNewUrlParser: true }, this.options)
.connect(this.connectionString, { useNewUrlParser: true, useUnifiedTopology: true }, this.options)
.then(client => {

this.client = client;
Expand Down

0 comments on commit f43d04e

Please sign in to comment.