Skip to content

Commit

Permalink
Update MongoClient connection options
Browse files Browse the repository at this point in the history
  • Loading branch information
santuman committed Mar 5, 2024
1 parent b84242f commit 2e4dc33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trial/assert.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const t = require('assert').strict

async function main () {
const url = process.argv.slice(2, 3)[0]
const conn = await MongoClient.connect(url, { useUnifiedTopology: true })
const conn = await MongoClient.connect(url)
const db = conn.db('admin')
const logs = db.collection('logs')

Expand Down

0 comments on commit 2e4dc33

Please sign in to comment.