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)
|
if (connectedAccnt)
|
||||||
emitEvent({
|
emitEvent({
|
||||||
event: "USER_CONNECTIONS_UPDATE",
|
event: "USER_CONNECTIONS_UPDATE",
|
||||||
data: connectedAccnt,
|
data: { ...connectedAccnt, token_data: undefined },
|
||||||
user_id: userId,
|
user_id: userId,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user