From 854c214bc09ec7173dc8e56ca127711c23fee063 Mon Sep 17 00:00:00 2001 From: bo0tzz Date: Wed, 5 Oct 2022 22:18:57 +0200 Subject: [PATCH] Fix: Use boolean comparison for DISABLE_REVERSE_GEOCODING config (#787) --- .../src/processors/metadata-extraction.processor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/apps/microservices/src/processors/metadata-extraction.processor.ts b/server/apps/microservices/src/processors/metadata-extraction.processor.ts index 0860fcdd49..a06972e042 100644 --- a/server/apps/microservices/src/processors/metadata-extraction.processor.ts +++ b/server/apps/microservices/src/processors/metadata-extraction.processor.ts @@ -96,7 +96,7 @@ export class MetadataExtractionProcessor { private configService: ConfigService, ) { - if (configService.get('DISABLE_REVERSE_GEOCODING') !== 'true') { + if (!configService.get('DISABLE_REVERSE_GEOCODING')) { Logger.log('Initialising Reverse Geocoding'); geocoderInit({ // eslint-disable-next-line @typescript-eslint/ban-ts-comment