Skip to content

Commit

Permalink
🔥 Socket test
Browse files Browse the repository at this point in the history
Remove parameter
  • Loading branch information
ShiriNmi1520 committed Mar 7, 2024
1 parent a8bd430 commit 35b4bac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/src/Server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ mainSocket.on('connection', (socket: Socket) => {
socket.token = ''
socket.GameStatus = ''

socket.on('test', (data: any) => {
socket.on('test', () => {
mainSocket.to(socket.id).emit(socket.id)
})

Expand Down

0 comments on commit 35b4bac

Please sign in to comment.