Skip to content

Commit 2979edf

Browse files
committed
Fixed MongoParseError
1 parent ab6ebc8 commit 2979edf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ const setupServer = async () => {
4040
const dbConnection = await mongoose.connect(process.env.MONGODB_URI, {
4141
useUnifiedTopology: true,
4242
useNewUrlParser: true,
43-
useCreateIndex: true,
44-
useFindAndModify: false,
4543
});
4644

4745
/**

0 commit comments

Comments
 (0)