diff options
author | Puyodead1 <puyodead@proton.me> | 2022-12-24 16:31:03 -0500 |
---|---|---|
committer | Puyodead1 <puyodead@proton.me> | 2023-03-18 19:28:45 -0400 |
commit | bdd4ddda522e3a7f0e192e3158148171c0e8f52b (patch) | |
tree | 0c231e9a5d97778a38610af1d5c1ca5eab2d36c9 /src/api/routes | |
parent | use connection revoked error (diff) | |
download | server-bdd4ddda522e3a7f0e192e3158148171c0e8f52b.tar.xz |
don't send token_data on connection update
Diffstat (limited to 'src/api/routes')
-rw-r--r-- | src/api/routes/connections/#connection_name/callback.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/connections/#connection_name/callback.ts b/src/api/routes/connections/#connection_name/callback.ts index 250d4710..b3baa060 100644 --- a/src/api/routes/connections/#connection_name/callback.ts +++ b/src/api/routes/connections/#connection_name/callback.ts @@ -42,7 +42,7 @@ router.post( if (connectedAccnt) emitEvent({ event: "USER_CONNECTIONS_UPDATE", - data: connectedAccnt, + data: { ...connectedAccnt, token_data: undefined }, user_id: userId, }); |