summary refs log tree commit diff
path: root/src/api/routes/connections
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/routes/connections')
-rw-r--r--src/api/routes/connections/#connection_name/callback.ts2
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,
 			});