1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-01 16:41:59 +00:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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