fix:..
This commit is contained in:
@@ -6,7 +6,7 @@ const connectToTeamDB = async () => {
|
||||
|
||||
try {
|
||||
await mongoose.connect(process.env.MongoURL!, {
|
||||
dbName: "teamDB",
|
||||
dbName: "TeamDB",
|
||||
});
|
||||
console.log("Db name is:-", mongoose.connection.db!.databaseName);
|
||||
console.log(" Connected to Team MongoDB");
|
||||
|
||||
Reference in New Issue
Block a user