stupid me

This commit is contained in:
leca 2024-11-13 20:07:59 +03:00
parent 05652f1cfb
commit 1e6975fa13
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ const notify = (token, groupId, action, item, data) => {
if (client.currentGroup == groupId) {
let userIdFromToken = jwt.decode(client.token, config.secret).login.id
if (userIdCurrent == userIdFromToken) return;
client.socket.send(payload)
client.socket.send(JSON.stringify(payload))
}
});
}