Fix CI
This commit is contained in:
parent
367afa511b
commit
a68c661221
|
@ -159,11 +159,10 @@ export class IoSocketController {
|
||||||
}
|
}
|
||||||
|
|
||||||
const userUuid = await jwtTokenManager.getUserUuidFromToken(token);
|
const userUuid = await jwtTokenManager.getUserUuidFromToken(token);
|
||||||
let client = socketManager.searchClientByUuid(userUuid);
|
const client = socketManager.searchClientByUuid(userUuid);
|
||||||
//if client socket exist, close connexion
|
//if client socket exist, close connexion
|
||||||
if(client){
|
if(client){
|
||||||
console.info(`Close connexion, client with uuid : ${userUuid} already exist !`);
|
console.info(`Close connexion, client with uuid : ${userUuid} already exist !`);
|
||||||
socketManager.emitCloseMessage(client, 500);
|
|
||||||
socketManager.leaveRoom(client);
|
socketManager.leaveRoom(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue