From: Jérôme Benoit Date: Thu, 26 May 2022 20:36:00 +0000 (+0200) Subject: Fix cut&paste typo X-Git-Tag: v1.1.61~26 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=d86d12d28bb210152995ac40eec45e79d9f71c9a;p=e-mobility-charging-stations-simulator.git Fix cut&paste typo Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/ChargingStation.ts b/src/charging-station/ChargingStation.ts index 4e9abedf..7d853547 100644 --- a/src/charging-station/ChargingStation.ts +++ b/src/charging-station/ChargingStation.ts @@ -1886,7 +1886,7 @@ export default class ChargingStation { ): void { options.handshakeTimeout = options?.handshakeTimeout ?? this.getConnectionTimeout() * 1000; params.closeOpened = params?.closeOpened ?? false; - params.terminateOpened = params?.closeOpened ?? false; + params.terminateOpened = params?.terminateOpened ?? false; if ( !Utils.isNullOrUndefined(this.stationInfo.supervisionUser) && !Utils.isNullOrUndefined(this.stationInfo.supervisionPassword)