This commit is contained in:
innoavvlasov committed 2025-11-04 19:32:58 +03:00
1 parent 71f3f353ab
commit 69eddf47db
2 files changed
+9 -4

No files matched your search

@@ -117,6 +117,9 @@ const waitForDatabaseConnection = async () => {
const verifyAuth = async () => {
try {
if (!mongoose.connection.db) {
return false;
}
await mongoose.connection.db.admin().command({ listDatabases: 1 });
return true;
} catch (error) {