diff --git a/apps/server/src/integrations/environment/environment.service.ts b/apps/server/src/integrations/environment/environment.service.ts index 02a9605c..2d262037 100644 --- a/apps/server/src/integrations/environment/environment.service.ts +++ b/apps/server/src/integrations/environment/environment.service.ts @@ -306,10 +306,10 @@ export class EnvironmentService { } getBaseQueryCacheEnabled(): boolean { - return ( - this.configService.get('BASE_QUERY_CACHE_ENABLED', 'false') === - 'true' - ); + const enabled = this.configService + .get('BASE_QUERY_CACHE_ENABLED', 'false') + .toLowerCase(); + return enabled === 'true'; } getBaseQueryCacheMinRows(): number {