From: Jérôme Benoit Date: Sun, 11 Feb 2024 12:55:03 +0000 (+0100) Subject: fix: ensure persistence configuration override is taken in all case X-Git-Tag: v1.2.36~9 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=c2be11fddae3fd9c84ab92719e3d479301eb0257;p=e-mobility-charging-stations-simulator.git fix: ensure persistence configuration override is taken in all case Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/Helpers.ts b/src/charging-station/Helpers.ts index bf118e9f..8870ce86 100644 --- a/src/charging-station/Helpers.ts +++ b/src/charging-station/Helpers.ts @@ -339,6 +339,7 @@ export const setChargingStationOptions = ( options?: ChargingStationOptions ): ChargingStationInfo => { if (options?.persistentConfiguration != null) { + stationInfo.stationInfoPersistentConfiguration = options.persistentConfiguration stationInfo.ocppPersistentConfiguration = options.persistentConfiguration stationInfo.automaticTransactionGeneratorPersistentConfiguration = options.persistentConfiguration