From 3c2bf5b5f9f0c3c14dbe5723428294e2b41bc5fb Mon Sep 17 00:00:00 2001 From: Lovel George <36924734+lovelgeorge99@users.noreply.github.com> Date: Wed, 25 Sep 2024 10:57:12 -0400 Subject: [PATCH] fixed typo --- src/lib/mongoDb/db.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/mongoDb/db.ts b/src/lib/mongoDb/db.ts index 88aee5b01..1e7c01efc 100644 --- a/src/lib/mongoDb/db.ts +++ b/src/lib/mongoDb/db.ts @@ -3,7 +3,7 @@ import * as mongoDB from 'mongodb'; let mongoClient: mongoDB.MongoClient; export async function connectToMongo() { - const url = process.env.MONGO_DOATION_CONNECTION_URI; + const url = process.env.MONGO_DONATION_CONNECTION_URI; if (!url) { throw new Error('MONGODB_CONNECTION_URL is not set'); }