From 2979edfdd528de8eb9a208d4c5ef292b9e4486fc Mon Sep 17 00:00:00 2001 From: kyrea Date: Tue, 3 Dec 2024 17:55:34 +0530 Subject: [PATCH] Fixed MongoParseError --- src/index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/index.js b/src/index.js index 8e271ff..39c1bb8 100644 --- a/src/index.js +++ b/src/index.js @@ -40,8 +40,6 @@ const setupServer = async () => { const dbConnection = await mongoose.connect(process.env.MONGODB_URI, { useUnifiedTopology: true, useNewUrlParser: true, - useCreateIndex: true, - useFindAndModify: false, }); /**