Update src/charging-station/ChargingStation.ts
authorJulian Buecher <69958138+JulianHBuecher@users.noreply.github.com>
Thu, 25 May 2023 08:19:09 +0000 (10:19 +0200)
committerGitHub <noreply@github.com>
Thu, 25 May 2023 08:19:09 +0000 (10:19 +0200)
Co-authored-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/charging-station/ChargingStation.ts

index b27a11d7e68cdca9af6c31e480c332f4782b04bc..3c049c068e10ed1f21b2c3be95d12d5fa0532eeb 100644 (file)
@@ -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;
     }