Update MongoDB driver

This commit is contained in:
Zaid Abdulla committed 2020-08-11 23:33:59 -07:00
1 parent 00ccf99be6
commit e3ef177842
5 files changed
+40 -39

No files matched your search

+1
View File
@@ -50,6 +50,7 @@ export let client: MongoClient;
export async function connect(): Promise<void> {
clientPromise = MongoClient.connect("" + get("MONGODB_CONNECTION_URL"), {
useNewUrlParser: true,
useUnifiedTopology: true,
});
client = await clientPromise;