From 5deee996dce9762367b04551dfb7d5864a86aecc Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Thu, 12 Dec 2024 21:32:44 +0500 Subject: [PATCH] refactor: skipped logger in mongooseadapter --- src/adapters/database/MongooseAdapter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adapters/database/MongooseAdapter.js b/src/adapters/database/MongooseAdapter.js index 7bae112e..6f5b6ec8 100644 --- a/src/adapters/database/MongooseAdapter.js +++ b/src/adapters/database/MongooseAdapter.js @@ -27,6 +27,6 @@ export default class MongooseAdapter extends IDatabaseAdapter { async disconnect() { await mongoose.disconnect(); - console.warn("Database disconnected."); + logger.warn("Database disconnected."); } }