repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix build
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
ChargingStationWorkerBroadcastChannel.ts
diff --git
a/src/charging-station/ChargingStationWorkerBroadcastChannel.ts
b/src/charging-station/ChargingStationWorkerBroadcastChannel.ts
index 28c23cf848198c746c51ca043770e2e14c38ac99..ef232641b18e3cc1025698d6b70afd377270b834 100644
(file)
--- a/
src/charging-station/ChargingStationWorkerBroadcastChannel.ts
+++ b/
src/charging-station/ChargingStationWorkerBroadcastChannel.ts
@@
-278,7
+278,7
@@
export default class ChargingStationWorkerBroadcastChannel extends WorkerBroadca
if (
commandResponse === undefined ||
commandResponse === null ||
if (
commandResponse === undefined ||
commandResponse === null ||
- Utils.isEmptyObject(commandResponse)
+ Utils.isEmptyObject(commandResponse
as CommandResponse
)
) {
responsePayload = {
hashId: this.chargingStation.stationInfo.hashId,
) {
responsePayload = {
hashId: this.chargingStation.stationInfo.hashId,
@@
-288,7
+288,7
@@
export default class ChargingStationWorkerBroadcastChannel extends WorkerBroadca
responsePayload = this.commandResponseToResponsePayload(
command,
requestPayload,
responsePayload = this.commandResponseToResponsePayload(
command,
requestPayload,
- commandResponse
+ commandResponse
as CommandResponse
);
}
} catch (error) {
);
}
} catch (error) {