Skip to content

Commit

Permalink
Update code
Browse files Browse the repository at this point in the history
  • Loading branch information
fawzi-iit committed Nov 30, 2023
1 parent 6d49fb6 commit 48a8a7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require('dotenv').config();

const connectDB = async () => {
try {
await mongoose.connect(process.env.MONGO_URI, {
mongoose.connect(process.env.MONGO_URI, {
useNewUrlParser: true,
useUnifiedTopology: true,
// Add other mongoose options here as needed
Expand Down

0 comments on commit 48a8a7a

Please sign in to comment.