mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-09 17:04:30 +08:00
updated message
This commit is contained in:
parent
ecc91f8fc4
commit
d954816c75
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ module.exports = {
|
|||
});
|
||||
},
|
||||
mongoDB() {
|
||||
if (!mongoClient) throw new Error("Database is offline");
|
||||
if (!mongoClient) throw new Error("Could not connect to the database");
|
||||
return mongoClient.db(process.env.DB_NAME);
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue