Skip to content

Commit

Permalink
Prettified Code!
Browse files Browse the repository at this point in the history
  • Loading branch information
SurajPratap10 authored and actions-user committed Oct 28, 2024
1 parent fb26a7c commit 675fdc2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions config/db.js
Original file line number Diff line number Diff line change
@@ -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);
Expand Down

0 comments on commit 675fdc2

Please sign in to comment.