From 15bdbf74cd55c04c81b04a0283ec0ab64dee4e5f Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Mon, 17 Mar 2025 11:23:18 +0000 Subject: [PATCH] null check --- apps/server/src/collaboration/server/collab-app.module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/server/src/collaboration/server/collab-app.module.ts b/apps/server/src/collaboration/server/collab-app.module.ts index 5f3ddcbb..08a2f688 100644 --- a/apps/server/src/collaboration/server/collab-app.module.ts +++ b/apps/server/src/collaboration/server/collab-app.module.ts @@ -20,7 +20,7 @@ import { CollaborationController } from './collaboration.controller'; ], controllers: [ AppController, - ...(process.env.COLLAB_SHOW_STATS.toLowerCase() === 'true' + ...(process.env.COLLAB_SHOW_STATS?.toLowerCase() === 'true' ? [CollaborationController] : []), ],