From 99adac3eb9e9ea4ea2e0908b66eee048c67b17ea Mon Sep 17 00:00:00 2001 From: Nelson Chan <3271800+chakflying@users.noreply.github.com> Date: Mon, 11 Dec 2023 19:26:20 +0800 Subject: [PATCH] Fix: typo for `disconnectAllSocketClients` (#4213) --- server/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/server.js b/server/server.js index c785c4deb6..92077185f6 100644 --- a/server/server.js +++ b/server/server.js @@ -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,