From ac065227feb0de095ccc2b3655469bc3a0c27d01 Mon Sep 17 00:00:00 2001 From: Behzad-rabiei Date: Wed, 7 May 2025 09:43:43 +0200 Subject: [PATCH] feat: create seperate db folder --- src/db/connection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db/connection.ts b/src/db/connection.ts index a77df01..6a9b312 100644 --- a/src/db/connection.ts +++ b/src/db/connection.ts @@ -54,7 +54,7 @@ export default class MongoConnectionManager { public ensureConnected(): void { if (this.mongoConnection === null) { - throw new Error('No active MongoDB connection! Please connect first.'); + throw new Error('No active MongoDB connection. Please connect first.'); } }