diff options
Diffstat (limited to '')
-rw-r--r-- | forefront/__init__.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/forefront/__init__.py b/forefront/__init__.py index 615057f8..30aae844 100644 --- a/forefront/__init__.py +++ b/forefront/__init__.py @@ -39,11 +39,11 @@ class Account: } ) - try: - trace_token = response.json()['response']['id'] - if logging: print(trace_token) - except KeyError: - return 'Failed to create 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", |