From: Jérôme Benoit Date: Sat, 2 Sep 2023 19:10:30 +0000 (+0200) Subject: fix: use static this context X-Git-Tag: v1.2.21~37 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=0898a067b2130b9a63a7aa3f79e460ddd570b7cb;p=e-mobility-charging-stations-simulator.git fix: use static this context Signed-off-by: Jérôme Benoit --- diff --git a/src/utils/Configuration.ts b/src/utils/Configuration.ts index 4e908a5e..57e29436 100644 --- a/src/utils/Configuration.ts +++ b/src/utils/Configuration.ts @@ -77,7 +77,7 @@ export class Configuration { public static getStationTemplateUrls(): StationTemplateUrl[] | undefined { const checkDeprecatedConfigurationKeysOnce = once( Configuration.checkDeprecatedConfigurationKeys.bind(Configuration), - this, + Configuration, ); checkDeprecatedConfigurationKeysOnce(); return Configuration.getConfigurationData()?.stationTemplateUrls;