Skip to content

Commit 1cedccd

Browse files
committed
removed deprecated items from the connection string
1 parent b194471 commit 1cedccd

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎src/index.js‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ app.use((req, res, next) => {
5050
const dbConnectionStr = dbUtils.getMongoConnectionString()
5151
mongoose.connect(dbConnectionStr, {
5252
useNewUrlParser: true,
53-
useUnifiedTopology: true,
54-
useFindAndModify: false,
55-
useCreateIndex: true
53+
useUnifiedTopology: true
5654
})
5755

5856
// database connection

0 commit comments

Comments
 (0)