mirror of
https://github.com/immich-app/immich.git
synced 2025-06-01 04:36:19 -04:00
Fix: Use boolean comparison for DISABLE_REVERSE_GEOCODING config (#787)
This commit is contained in:
parent
5dfce4db34
commit
854c214bc0
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user