Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
Fix a type casting
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
  • Loading branch information
Jérôme Benoit committed Apr 9, 2022
1 parent 4e4199c commit 6d6dc22
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/charging-station/ChargingStationWorker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ if (Utils.workerPoolInUse()) {
// Add message listener to start charging station from main thread
addMessageListener();
if (!Utils.isUndefined(workerData)) {
startChargingStation({
index: (workerData as ChargingStationWorkerData).index,
templateFile: (workerData as ChargingStationWorkerData).templateFile,
});
startChargingStation(workerData as ChargingStationWorkerData);
}
}

Expand Down

0 comments on commit 6d6dc22

Please sign in to comment.