From d073aef5f0661ff8ca33f6ea88323b1b54974a83 Mon Sep 17 00:00:00 2001 From: blazejpass Date: Thu, 12 Oct 2023 17:44:10 +0200 Subject: [PATCH] Delete TLDRAW_DB_TEST_URL --- apps/server/src/modules/tldraw/config.ts | 5 +---- config/default.schema.json | 5 ----- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/apps/server/src/modules/tldraw/config.ts b/apps/server/src/modules/tldraw/config.ts index 5343b95722f..d64107d1837 100644 --- a/apps/server/src/modules/tldraw/config.ts +++ b/apps/server/src/modules/tldraw/config.ts @@ -13,10 +13,7 @@ export interface TldrawConfig { TLDRAW_PING_TIMEOUT: number; } -const tldrawConnectionString: string = - (Configuration.get('NODE_ENV') as NodeEnvType) === NodeEnvType.TEST - ? (Configuration.get('TLDRAW_DB_URL') as string) - : (Configuration.get('TLDRAW_DB_TEST_URL') as string); +const tldrawConnectionString: string = Configuration.get('TLDRAW_DB_URL') as string; const tldrawConfig = { NEST_LOG_LEVEL: Configuration.get('NEST_LOG_LEVEL') as string, diff --git a/config/default.schema.json b/config/default.schema.json index 2f02b13018e..20b0d186a56 100644 --- a/config/default.schema.json +++ b/config/default.schema.json @@ -1353,11 +1353,6 @@ "default": "mongodb://127.0.0.1:27017/tldraw", "description": "DB connection url" }, - "TLDRAW_DB_TEST_URL": { - "type": "string", - "default": "mongodb://127.0.0.1:27017/tldraw-test", - "description": "DB connection url for testing" - }, "FEATURE_TLDRAW_ENABLED": { "type": "boolean", "default": true,