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

pull/789/head
bo0tzz 2022-10-05 22:18:57 +02:00 committed by GitHub
parent 5dfce4db34
commit 854c214bc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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