Fix cut&paste typo
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 26 May 2022 20:36:00 +0000 (22:36 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Thu, 26 May 2022 20:36:00 +0000 (22:36 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/ChargingStation.ts

index 4e9abedf3fd9a6b8331079171ceb95958312c028..7d853547883eb45031c3bbdc407e9149a167a4f9 100644 (file)
@@ -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)