From d064aca525b6092da34437b7b9214a210c391620 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=A9grier?= Date: Sat, 4 Apr 2020 22:35:20 +0200 Subject: [PATCH] Fixing typo in comment --- back/src/Controller/IoSocketController.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/back/src/Controller/IoSocketController.ts b/back/src/Controller/IoSocketController.ts index 5dbacdac..3907436b 100644 --- a/back/src/Controller/IoSocketController.ts +++ b/back/src/Controller/IoSocketController.ts @@ -11,7 +11,7 @@ export class IoSocketController{ constructor(server : http.Server) { this.Io = socketIO(server); - //authentication with token. it will be decodes and stock in socket. + // Authentication with token. it will be decoded and stored in the socket. this.Io.use( (socket: Socket, next) => { if (!socket.handshake.query || !socket.handshake.query.token) { return next(new Error('Authentication error')); @@ -77,4 +77,4 @@ export class IoSocketController{ return new Error(err); } } -} \ No newline at end of file +}