From: Jérôme Benoit Date: Mon, 17 Jul 2023 10:24:42 +0000 (+0200) Subject: fix: fix inscoped this in configuration class X-Git-Tag: v1.2.18~14 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=f08551670b18a567ceb499c36e13ee6f1bbbc02c;p=e-mobility-charging-stations-simulator.git fix: fix inscoped this in configuration class Signed-off-by: Jérôme Benoit --- diff --git a/src/utils/Configuration.ts b/src/utils/Configuration.ts index 54f6b745..473906df 100644 --- a/src/utils/Configuration.ts +++ b/src/utils/Configuration.ts @@ -220,7 +220,7 @@ export class Configuration { let storageConfiguration: StorageConfiguration = { enabled: false, type: StorageType.JSON_FILE, - uri: this.getDefaultPerformanceStorageUri(StorageType.JSON_FILE), + uri: Configuration.getDefaultPerformanceStorageUri(StorageType.JSON_FILE), }; if (hasOwnProp(Configuration.getConfigurationData(), ConfigurationSection.performanceStorage)) { storageConfiguration = {