From: Jérôme Benoit Date: Fri, 28 Apr 2023 17:47:13 +0000 (+0200) Subject: fix: fix return at getting connector status with evses X-Git-Tag: v1.2.12~47 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=5e128725c7e0dae5e1c5819fb3160aec4c6db816;p=e-mobility-charging-stations-simulator.git fix: fix return at getting connector status with evses Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/ChargingStation.ts b/src/charging-station/ChargingStation.ts index 9cd20129..b52fb585 100644 --- a/src/charging-station/ChargingStation.ts +++ b/src/charging-station/ChargingStation.ts @@ -287,6 +287,7 @@ export class ChargingStation { return evseStatus.connectors.get(connectorId); } } + return undefined; } return this.connectors.get(connectorId); }