diff options
Diffstat (limited to 'src/util/Database.ts')
-rw-r--r-- | src/util/Database.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/util/Database.ts b/src/util/Database.ts index e5323ed6..3a0f0157 100644 --- a/src/util/Database.ts +++ b/src/util/Database.ts @@ -2,7 +2,6 @@ import "./MongoBigInt"; import mongoose, { Collection, Connection, LeanDocument } from "mongoose"; import { ChangeStream, ChangeEvent, Long } from "mongodb"; import EventEmitter from "events"; -import { Document } from "mongoose"; const uri = process.env.MONGO_URL || "mongodb://localhost:27017/fosscord?readPreference=secondaryPreferred"; // TODO: auto throw error if findOne doesn't find anything |