From 79c4fd55fc210929ba550f55c1babdc88c0859c2 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Tue, 6 Apr 2021 17:06:00 +0200 Subject: :bug: fix User Model guilds --- dist/util/Database.js | 1 + 1 file changed, 1 insertion(+) (limited to 'dist/util/Database.js') diff --git a/dist/util/Database.js b/dist/util/Database.js index 6f8d284d..b80fd835 100644 --- a/dist/util/Database.js +++ b/dist/util/Database.js @@ -9,6 +9,7 @@ const mongoose_1 = __importDefault(require("mongoose")); const mongodb_1 = require("mongodb"); const events_1 = __importDefault(require("events")); const uri = process.env.MONGO_URL || "mongodb://localhost:27017/fosscord?readPreference=secondaryPreferred"; +console.log(`[DB] connect: ${uri}`); const connection = mongoose_1.default.createConnection(uri, { autoIndex: true }); exports.default = connection; class MongooseCache extends events_1.default { -- cgit 1.5.1