refactor: skipped logger in mongooseadapter

This commit is contained in:
Jonny_Bro (Nikita) 2024-12-12 21:32:44 +05:00
parent d0b4a13a2e
commit 5deee996dc

View file

@ -27,6 +27,6 @@ export default class MongooseAdapter extends IDatabaseAdapter {
async disconnect() {
await mongoose.disconnect();
console.warn("Database disconnected.");
logger.warn("Database disconnected.");
}
}