1
0
Fork 0

Update __init__.py

This commit is contained in:
Hikeri 2023-04-27 22:56:43 +03:00 committed by GitHub
parent 25428d58d5
commit 2b4079f8a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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