From d9c13bcac891b8686dbba36ae5c10f87948e3614 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 5 Jun 2024 20:40:19 +0200 Subject: [PATCH] refactor: cleanup boot notification handling internal handling MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .../broadcast-channel/ChargingStationWorkerBroadcastChannel.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/charging-station/broadcast-channel/ChargingStationWorkerBroadcastChannel.ts b/src/charging-station/broadcast-channel/ChargingStationWorkerBroadcastChannel.ts index 9b662134..9acdd3a4 100644 --- a/src/charging-station/broadcast-channel/ChargingStationWorkerBroadcastChannel.ts +++ b/src/charging-station/broadcast-channel/ChargingStationWorkerBroadcastChannel.ts @@ -155,7 +155,7 @@ export class ChargingStationWorkerBroadcastChannel extends WorkerBroadcastChanne [ BroadcastChannelProcedureName.BOOT_NOTIFICATION, async (requestPayload?: BroadcastChannelRequestPayload) => { - await this.chargingStation.ocppRequestService.requestHandler< + return await this.chargingStation.ocppRequestService.requestHandler< BootNotificationRequest, BootNotificationResponse >( @@ -170,7 +170,6 @@ export class ChargingStationWorkerBroadcastChannel extends WorkerBroadcastChanne throwError: true } ) - return this.chargingStation.bootNotificationResponse } ], [ -- 2.43.0