Skip to content

Commit ff1cac5

Browse files
committed
fix: double db log
1 parent eea6970 commit ff1cac5

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/config/db.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import mongoose from 'mongoose';
33
const connectDB = async () => {
44
try {
55
await mongoose.connect(process.env.MONGO_URI);
6-
console.log('MongoDB connected');
76
} catch (error) {
87
console.error('DB connection failed', error);
98
process.exit(1);

0 commit comments

Comments
 (0)