This commit is contained in:
Timothy Jaeryang Baek committed 2026-10-16 14:24:53 +04:00
1 parent 80c6cc8958
commit 71444bf216
1 file changed
+5 -1
+5 -1
View File
@@ -658,7 +658,11 @@ async def _ws_proxy(
try:
async with upstream:
await upstream.send(json.dumps({"type": "auth", "token": instance.api_key}))
await upstream.send(json.dumps({
"type": "auth",
"token": instance.api_key,
"chat_id": ws.headers.get("x-session-id", ""),
}))
async def _client_to_upstream():
try: