From c51b11958a6287a8d66e58bc871e3a1c8a463572 Mon Sep 17 00:00:00 2001 From: Manuel Ruck Date: Mon, 15 Jul 2024 18:32:31 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20debug=20mongo=20only=20if=20LOGGING=5FMO?= =?UTF-8?q?NGO=20set=20to=20=E2=80=9Etrue=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Manuel Ruck --- src/config/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/index.ts b/src/config/index.ts index 58edd50..cb435da 100644 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -55,7 +55,7 @@ const optionalConfigs = { LOGGING_DISCORD: process.env.LOGGING_DISCORD, LOGGING_DISCORD_TOKEN: process.env.LOGGING_DISCORD_TOKEN, LOGGING_DISCORD_WEBHOOK: process.env.LOGGING_DISCORD_WEBHOOK, - LOGGING_MONGO: process.env.LOGGING_MONGO !== 'false' || false, + LOGGING_MONGO: process.env.LOGGING_MONGO === 'true' || false, }; export default {