Omkar008 commited on
Commit
de6ab79
1 Parent(s): 875573e

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +1 -1
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)