mirror of
https://github.com/Expand-sys/mcbot
synced 2025-12-15 14:32:13 +11:00
aa
This commit is contained in:
parent
6d0ca1ff18
commit
88cfa63f5e
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ async function run() {
|
|||
await dbclient.connect();
|
||||
// Send a ping to confirm a successful connection
|
||||
await dbclient.db("admin").command({ ping: 1 });
|
||||
console.log("Pinged your deployment. You successfully connected to MongoDB!");
|
||||
console.log("Pinged your deployment. Successfully connected to MongoDB!");
|
||||
} finally {
|
||||
// Ensures that the client will close when you finish/error
|
||||
await dbclient.close();
|
||||
|
|
|
|||
Loading…
Reference in a new issue