Skip to content

Commit

Permalink
Fix: typo for disconnectAllSocketClients (#4213)
Browse files Browse the repository at this point in the history
  • Loading branch information
chakflying authored Dec 11, 2023
1 parent 89beb5f commit 99adac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -1264,7 +1264,7 @@ let needSetup = false;
let user = await doubleCheckPassword(socket, password.currentPassword);
await user.resetPassword(password.newPassword);

server.disconnectAllSocketClient(user.id, socket.id);
server.disconnectAllSocketClients(user.id, socket.id);

callback({
ok: true,
Expand Down

0 comments on commit 99adac3

Please sign in to comment.