commit | 3d54ade4a0a59e71f9a4641a6e93b751a078ccb1 | [log] [tgz] |
---|---|---|
author | TheCodedProf <samuel.shuert@gmail.com> | Sat Apr 22 21:40:42 2023 -0400 |
committer | TheCodedProf <samuel.shuert@gmail.com> | Sat Apr 22 21:40:42 2023 -0400 |
tree | f1da36ba14e2787978afba8684ab62638dfd086f | |
parent | 21d4b0f9a5e34827308400f8fe6713f43ed19a27 [diff] [blame] |
FIXED ATTACHMENT LOGS
diff --git a/src/utils/database.ts b/src/utils/database.ts index 67ff5ac..b42b8b2 100644 --- a/src/utils/database.ts +++ b/src/utils/database.ts
@@ -25,7 +25,7 @@ : `mongodb://${config.mongoOptions.host}` ); await mongoClient.connect(); -const database = mongoClient.db(); +export const database = mongoClient.db(); const collectionOptions = { authdb: config.mongoOptions.authSource, w: "majority" }; const getIV = () => crypto.randomBytes(16);