fix: ensure boot notification response is assigned before querying
[e-mobility-charging-stations-simulator.git] / src / charging-station / ChargingStation.ts
index ba1979542cf0767ae030cd5030ed779478cf9b3c..7cfb70f265bc3a9e0bad2f0c9accb8dba76ba038 100644 (file)
@@ -1832,6 +1832,7 @@ export class ChargingStation extends EventEmitter {
       if (!this.isRegistered()) {
         // Send BootNotification
         do {
+          // FIXME: duplicated assignment with the boot notification response handler
           this.bootNotificationResponse = await this.ocppRequestService.requestHandler<
           BootNotificationRequest,
           BootNotificationResponse