Skip to content

Commit

Permalink
fix: add host
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Feb 17, 2024
1 parent 782381a commit f6f6343
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ class CoCreateUser {
self.wsManager.send(response)
self.wsManager.send({
socket,
host: data.host,
method: 'updateUserStatus',
user_id: response.user_id,
userStatus: response.userStatus,
Expand Down Expand Up @@ -120,6 +121,7 @@ class CoCreateUser {
self.wsManager.send({
socket: data.socket,
method: 'updateUserStatus',
host: data.host,
user_id: data.user_id,
clientId: data.clientId,
userStatus: data.userStatus,
Expand All @@ -129,6 +131,7 @@ class CoCreateUser {
} else if (data.socket)
data.socket.send(JSON.stringify({
method: 'updateUserStatus',
host: data.host,
user_id: data.user_id,
userStatus: data.userStatus,
clientId: data.clientId,
Expand Down

0 comments on commit f6f6343

Please sign in to comment.