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);