Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.

Commit

Permalink
fix: Fixed formatting in the mongo file
Browse files Browse the repository at this point in the history
  • Loading branch information
Cpt-Dingus committed Nov 7, 2023
1 parent 828203f commit 2097b6f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/mongo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ import {Dependency} from './modules.js';
export const mongo = new Dependency('MongoDB', async () => {
const mongoConfig = botConfig.secrets.mongodb;


let connectionString: string | undefined;
// Allows for empty authentication fields without erroring
// Allows for empty authentication fields without erroring
if (mongoConfig.username === '' || mongoConfig.password === '') {
// https://www.mongodb.com/docs/manual/reference/connection-string/
connectionString =
Expand Down

0 comments on commit 2097b6f

Please sign in to comment.