|
|
@@ -28,8 +28,8 @@ export class EventsGateway implements OnGatewayInit, OnGatewayConnection, OnGate
|
|
|
Logger.log('Initialized!', 'EventsGateway')
|
|
|
}
|
|
|
|
|
|
- handleConnection(client: any, ...args: any[]) {
|
|
|
- Logger.log('Client connected: ' + client.id + ', ' + args, 'EventsGateway')
|
|
|
+ handleConnection(client: Socket, ...args: any[]) {
|
|
|
+ Logger.log('Client connected: ' + client.id + ', ' + client.handshake.query.device, 'EventsGateway')
|
|
|
}
|
|
|
|
|
|
handleDisconnect(client: any) {
|