Gregniuki commited on
Commit
f18e366
1 Parent(s): d500ade

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -2
main.py CHANGED
@@ -170,8 +170,7 @@ async def register_post(
170
  recaptcha_response = await client.post(recaptcha_url, data=recaptcha_data)
171
 
172
  recaptcha_result = recaptcha_response.json()
173
-
174
- print(recaptcha_result) # or use proper logging
175
  if not recaptcha_result.get('success', False):
176
  raise HTTPException(status_code=400, detail="reCAPTCHA validation failed.")
177
  # Call the create_assessment function to validate the token
 
170
  recaptcha_response = await client.post(recaptcha_url, data=recaptcha_data)
171
 
172
  recaptcha_result = recaptcha_response.json()
173
+ print(recaptcha_result) # or use proper logging
 
174
  if not recaptcha_result.get('success', False):
175
  raise HTTPException(status_code=400, detail="reCAPTCHA validation failed.")
176
  # Call the create_assessment function to validate the token