Skip to content

Commit

Permalink
fix: debug mongo only if LOGGING_MONGO set to „true“
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Ruck <[email protected]>
  • Loading branch information
Manuel Ruck committed Jul 15, 2024
1 parent 2a83609 commit c51b119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c51b119

Please sign in to comment.