Spaces:
Running
Running
Update test.py
Browse files
test.py
CHANGED
@@ -158,7 +158,7 @@ async def auth_google(websocket: WebSocket):
|
|
158 |
# return {"data":Yo Yo"}
|
159 |
# data = await request.json()
|
160 |
# code = data.get("access_token")
|
161 |
-
await websocket.accept()
|
162 |
data = await websocket.receive_json()
|
163 |
code = data["message"]
|
164 |
print(code)
|
|
|
158 |
# return {"data":Yo Yo"}
|
159 |
# data = await request.json()
|
160 |
# code = data.get("access_token")
|
161 |
+
sucess =await websocket.accept()
|
162 |
data = await websocket.receive_json()
|
163 |
code = data["message"]
|
164 |
print(code)
|