summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/Database.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/util/Database.ts b/src/util/Database.ts
index ed596907..16e07d3b 100644
--- a/src/util/Database.ts
+++ b/src/util/Database.ts
@@ -5,7 +5,6 @@ import EventEmitter from "events";
 const uri = process.env.MONGO_URL || "mongodb://localhost:27017/fosscord?readPreference=secondaryPreferred";
 import { URL } from "url";
 
-// TODO: auto throw error if findOne doesn't find anything
 const url = new URL(uri.replace("mongodb://", "http://"));
 
 const connection = mongoose.createConnection(uri, {