Spaces:
Running
Running
Update main.py
Browse files
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")
|