mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +00:00 
			
		
		
		
	Fix: Use boolean comparison for DISABLE_REVERSE_GEOCODING config (#787)
This commit is contained in:
		@@ -96,7 +96,7 @@ export class MetadataExtractionProcessor {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    private configService: ConfigService,
 | 
					    private configService: ConfigService,
 | 
				
			||||||
  ) {
 | 
					  ) {
 | 
				
			||||||
    if (configService.get('DISABLE_REVERSE_GEOCODING') !== 'true') {
 | 
					    if (!configService.get('DISABLE_REVERSE_GEOCODING')) {
 | 
				
			||||||
      Logger.log('Initialising Reverse Geocoding');
 | 
					      Logger.log('Initialising Reverse Geocoding');
 | 
				
			||||||
      geocoderInit({
 | 
					      geocoderInit({
 | 
				
			||||||
        // eslint-disable-next-line @typescript-eslint/ban-ts-comment
 | 
					        // eslint-disable-next-line @typescript-eslint/ban-ts-comment
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user