Skip to content

Commit

Permalink
rm ugly prints
Browse files Browse the repository at this point in the history
  • Loading branch information
emrgnt-cmplxty committed Jan 10, 2025
1 parent e68b4d8 commit e2bb519
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions py/core/main/api/v3/users_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -1807,14 +1807,12 @@ async def google_callback(
"grant_type": "authorization_code",
},
).json()
print("token data = ", token_data)
if "error" in token_data:
raise HTTPException(
status_code=400,
detail=f"Failed to get token: {token_data}",
)

print("verifying...")
# 2. Verify the ID token
id_token_str = token_data["id_token"]
try:
Expand All @@ -1824,7 +1822,6 @@ async def google_callback(
google_requests.Request(),
self.google_client_id,
)
print("id_info = ", id_info)
except ValueError as e:
raise HTTPException(
status_code=400,
Expand Down

0 comments on commit e2bb519

Please sign in to comment.