From: Julian Buecher <69958138+JulianHBuecher@users.noreply.github.com> Date: Thu, 25 May 2023 08:19:09 +0000 (+0200) Subject: Update src/charging-station/ChargingStation.ts X-Git-Tag: v1.2.16~13^2~6 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=ea5d5eef0981ce1a29c2cb6ce5ee0e8408250952;p=e-mobility-charging-stations-simulator.git Update src/charging-station/ChargingStation.ts Co-authored-by: Jérôme Benoit --- diff --git a/src/charging-station/ChargingStation.ts b/src/charging-station/ChargingStation.ts index b27a11d7..3c049c06 100644 --- a/src/charging-station/ChargingStation.ts +++ b/src/charging-station/ChargingStation.ts @@ -1078,7 +1078,7 @@ export class ChargingStation { connectorId?: number, idTag?: string ): boolean { - const [alreadyExists, _] = this.doesReservationExists({ id: reservationId }); + const [alreadyExists] = this.doesReservationExists({ id: reservationId }); if (alreadyExists) { return alreadyExists; }