fix: fix circular dependencies in types
[e-mobility-charging-stations-simulator.git] / src / charging-station / ChargingStation.ts
index e802e0cb0ba5d290fa8e6b2c5a332035309e5ecd..f1dac8a3a97ab54f0ff6a1042a879570044d96e3 100644 (file)
@@ -1013,7 +1013,7 @@ export class ChargingStation {
   ): [boolean, Reservation | undefined] {
     const foundReservation = this.getReservationBy(
       ReservationFilterKey.RESERVATION_ID,
-      reservation.id!,
+      reservation.reservationId!,
     );
     return isUndefined(foundReservation) ? [false, undefined] : [true, foundReservation];
   }