This commit is contained in:
Ashwani Senapati
2025-11-03 03:17:37 +05:30
parent e321eb7971
commit 39ca1d8595

View File

@@ -6,7 +6,7 @@ const connectToTeamDB = async () => {
try { try {
await mongoose.connect(process.env.MongoURL!, { await mongoose.connect(process.env.MongoURL!, {
dbName: "teamDB", dbName: "TeamDB",
}); });
console.log("Db name is:-", mongoose.connection.db!.databaseName); console.log("Db name is:-", mongoose.connection.db!.databaseName);
console.log(" Connected to Team MongoDB"); console.log(" Connected to Team MongoDB");