Omkar008 commited on
Commit
1e7850e
1 Parent(s): 8d9bc37

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -63,7 +63,7 @@ async def test_google(code:str):
63
  access_token = response.json().get("access_token")
64
  print("printing access token , yo yo test")
65
  print(access_token)
66
- return {"access_token":response}
67
  # # if not access_token:
68
  # # raise HTTPException(status_code=400, detail="Authorization code not provided")
69
  # print("Entered this function, for testing purposes")
 
63
  access_token = response.json().get("access_token")
64
  print("printing access token , yo yo test")
65
  print(access_token)
66
+ return {"access_token":response.json()}
67
  # # if not access_token:
68
  # # raise HTTPException(status_code=400, detail="Authorization code not provided")
69
  # print("Entered this function, for testing purposes")