1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-10 04:32:35 +01:00

don't send token_data on connection update

This commit is contained in:
Puyodead1 2022-12-24 16:31:03 -05:00
parent 7e10d73dac
commit bdd4ddda52
No known key found for this signature in database
GPG Key ID: A4FA4FEC0DD353FC

View File

@ -42,7 +42,7 @@ router.post(
if (connectedAccnt)
emitEvent({
event: "USER_CONNECTIONS_UPDATE",
data: connectedAccnt,
data: { ...connectedAccnt, token_data: undefined },
user_id: userId,
});