From: Jérôme Benoit Date: Mon, 29 Nov 2021 19:34:13 +0000 (+0100) Subject: Fixlet to comment X-Git-Tag: v1.1.36~13 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=3b04a25c2969e6f6d60c4b394656863673614e88;p=e-mobility-charging-stations-simulator.git Fixlet to comment Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/WebSocketServer.ts b/src/charging-station/WebSocketServer.ts index c5a0c51e..426c8072 100644 --- a/src/charging-station/WebSocketServer.ts +++ b/src/charging-station/WebSocketServer.ts @@ -27,7 +27,7 @@ export default class WebSocketServer extends WebSocket.Server { public start(): void { this.on('connection', (socket: WebSocket, request: IncomingMessage): void => { - // FIXME: Check connection validity + // FIXME: check connection validity socket.on('message', (messageData) => { let [version, command, payload]: ProtocolRequest = [ProtocolVersion['0.0.1'], ProtocolCommand.UNKNOWN, {}]; // FIXME: check for iterable object