From ea5d5eef0981ce1a29c2cb6ce5ee0e8408250952 Mon Sep 17 00:00:00 2001 From: Julian Buecher <69958138+JulianHBuecher@users.noreply.github.com> Date: Thu, 25 May 2023 10:19:09 +0200 Subject: [PATCH] Update src/charging-station/ChargingStation.ts MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Co-authored-by: Jérôme Benoit --- src/charging-station/ChargingStation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.34.1