Fix: Use boolean comparison for DISABLE_REVERSE_GEOCODING config (#787)

This commit is contained in:
bo0tzz
2022-10-05 22:18:57 +02:00
committed by GitHub
parent 5dfce4db34
commit 854c214bc0

View File

@@ -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