X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcharging-station%2Fui-server%2FUIWebSocketServer.ts;h=c135cb13859d09d212a8bda3060f6c95f7729c01;hb=0a1dd746244cebb3633d88c6650839d9f32227fe;hp=6d6dc6df9fcd6d66a77ec3455d1f0ef76787c08e;hpb=5199f9fdf202eb534948f165a0994e1993675aa8;p=e-mobility-charging-stations-simulator.git diff --git a/src/charging-station/ui-server/UIWebSocketServer.ts b/src/charging-station/ui-server/UIWebSocketServer.ts index 6d6dc6df..c135cb13 100644 --- a/src/charging-station/ui-server/UIWebSocketServer.ts +++ b/src/charging-station/ui-server/UIWebSocketServer.ts @@ -53,7 +53,7 @@ export class UIWebSocketServer extends AbstractUIServer { ws.close(WebSocketCloseEventStatusCode.CLOSE_INVALID_PAYLOAD) return } - const [requestId] = request as ProtocolRequest + const [requestId] = request this.responseHandlers.set(requestId, ws) this.uiServices .get(version)