From 742963a28f437280d5a6200577ca2d2b5c958776 Mon Sep 17 00:00:00 2001 From: gaetanDRE <132342310+gaetanDRE@users.noreply.github.com> Date: Thu, 7 Dec 2023 16:34:09 +0100 Subject: [PATCH] fix(geocoder-cache): add geocoder-cache enableCache * feat(ci): add npm Co-authored-by: Vigneron GAETAN * fix(ci): repository * fix(geocoder-cache): add geocoder-cache enableCache --------- Co-authored-by: Vigneron GAETAN --- src/providers/Here/Geocoder.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/providers/Here/Geocoder.js b/src/providers/Here/Geocoder.js index 519c19d..a5e3050 100644 --- a/src/providers/Here/Geocoder.js +++ b/src/providers/Here/Geocoder.js @@ -175,7 +175,7 @@ class HereGeocoder extends ProviderGeocoder { let response = {}; - if (this.config.cache) { + if (this.config.cacheEnable) { if(!this.config.cacheUrl || !this.config.cacheKey) { throw new Error("Missing parameter cacheUrl || cacheKey"); } @@ -263,7 +263,7 @@ class HereGeocoder extends ProviderGeocoder { } let response = {}; - if (this.config.cache) { + if (this.config.cacheEnable) { if(!this.config.cacheUrl || !this.config.cacheKey) { throw new Error("Missing parameter cacheUrl || cacheKey"); }