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:
parent
7e10d73dac
commit
bdd4ddda52
@ -42,7 +42,7 @@ router.post(
|
||||
if (connectedAccnt)
|
||||
emitEvent({
|
||||
event: "USER_CONNECTIONS_UPDATE",
|
||||
data: connectedAccnt,
|
||||
data: { ...connectedAccnt, token_data: undefined },
|
||||
user_id: userId,
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user