Merge pull request #215 from hikeri/main

Update forefront __init__.py
This commit is contained in:
t.me/xtekky 2023-04-28 09:02:16 +01:00 committed by GitHub
commit 5e8870ec1b
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",