Skip to content

Commit

Permalink
fix: updateUserStatus response
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Pagan committed Apr 24, 2023
1 parent 2c92143 commit 13c1735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ class SocketServer extends EventEmitter{
this.emit('userStatus', socket, {user_id, userStatus: 'on', organization_id});
}
} else {
this.send(socket, 'updateUserStatus', {userStatus: 'off', organization_id})
this.send(socket, 'updateUserStatus', {userStatus: 'off', clientId: data.clientId, organization_id})
}

//. checking async status....
Expand Down

0 comments on commit 13c1735

Please sign in to comment.