From 53ae60829564f431ca164c2c9e6f7a399c845008 Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Sun, 9 Apr 2023 13:54:13 -0500 Subject: [PATCH] fix: allow specifying different mongodb server --- src/helpers/env.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/helpers/env.ts b/src/helpers/env.ts index 45f394d..64edff9 100644 --- a/src/helpers/env.ts +++ b/src/helpers/env.ts @@ -3,5 +3,5 @@ import 'dotenv/config'; export const clientId = process.env.CLIENT_ID || ''; export const testingGuild = process.env.TESTING_GUILD || ''; export const token = process.env.TOKEN || ''; -export const mongoUri = (process.env.MONGO_URI = - 'mongodb://mongo:27017/AWESOME'); +export const mongoUri = + process.env.MONGO_URI || 'mongodb://mongo:27017/AWESOME';