null check

This commit is contained in:
Philipinho 2025-03-17 11:23:18 +00:00
parent 3d9a7d808b
commit 15bdbf74cd

View File

@ -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]
: []),
],