From 675fdc23549f69abdb0213e324bd4301d4f906e8 Mon Sep 17 00:00:00 2001 From: SurajPratap10 Date: Mon, 28 Oct 2024 03:39:38 +0000 Subject: [PATCH] Prettified Code! --- config/db.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/config/db.js b/config/db.js index 6ca12619..ffb2f893 100644 --- a/config/db.js +++ b/config/db.js @@ -1,7 +1,5 @@ - // i just made some changes so that it can add connection options to improve performance and handle potential issues and want to log more details about the error, such as the error code so that it ,may create more easiness and reusble of code. - const mongoose = require("mongoose"); mongoose.set("strictQuery", true);