mirror of
https://github.com/wassname/talk.git
synced 2026-07-17 11:33:39 +08:00
lint
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ try {
|
||||
mongoose.connect(process.env.TALK_MONGO_URL, (err, res) => {
|
||||
if (err) throw err;
|
||||
console.log('Connected to MongoDB!');
|
||||
})
|
||||
});
|
||||
} catch (err) {
|
||||
console.log('Cannot stablish a connection with MongoDB');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user