summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-06 17:06:00 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-06 17:06:00 +0200
commit79c4fd55fc210929ba550f55c1babdc88c0859c2 (patch)
treed4522d3cbbb8f565538737af544e6b44729fa995 /src/util
parent:sparkles: add date of birth to user (diff)
downloadserver-79c4fd55fc210929ba550f55c1babdc88c0859c2.tar.xz
:bug: fix User Model guilds
Diffstat (limited to 'src/util')
-rw-r--r--src/util/Database.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/Database.ts b/src/util/Database.ts
index f5269675..fee3cc31 100644
--- a/src/util/Database.ts
+++ b/src/util/Database.ts
@@ -4,6 +4,8 @@ import { ChangeStream, ChangeEvent, Long } from "mongodb";
 import EventEmitter from "events";
 const uri = process.env.MONGO_URL || "mongodb://localhost:27017/fosscord?readPreference=secondaryPreferred";
 
+console.log(`[DB] connect: ${uri}`);
+
 const connection = mongoose.createConnection(uri, { autoIndex: true });
 
 export default <Connection>connection;