1
0
Fork 0

Update __init__.py

This commit is contained in:
Jisan 2023-04-28 20:12:34 +05:30 committed by GitHub
parent 144143c84e
commit 3630149afa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,11 +39,11 @@ class Account:
} }
) )
try: try:
trace_token = response.json()['response']['id'] trace_token = response.json()['response']['id']
if logging: print(trace_token) if logging: print(trace_token)
except KeyError: except KeyError:
return 'Failed to create account!' return 'Failed to create account!'
response = client.post( response = client.post(
f"https://clerk.forefront.ai/v1/client/sign_ups/{trace_token}/prepare_verification?_clerk_js_version=4.32.6", f"https://clerk.forefront.ai/v1/client/sign_ups/{trace_token}/prepare_verification?_clerk_js_version=4.32.6",