From e72aca81b04375d2ddc57d9f548dd27bb9e1f523 Mon Sep 17 00:00:00 2001 From: rishabhpoddar Date: Mon, 27 May 2024 23:23:23 +0530 Subject: [PATCH] docs fix --- .../common-customizations/handling-signup-success.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v2/emailpassword/common-customizations/handling-signup-success.mdx b/v2/emailpassword/common-customizations/handling-signup-success.mdx index 1f3b990d0..9dbf3db69 100644 --- a/v2/emailpassword/common-customizations/handling-signup-success.mdx +++ b/v2/emailpassword/common-customizations/handling-signup-success.mdx @@ -204,7 +204,7 @@ func main() { ```python from supertokens_python import init, InputAppInfo from supertokens_python.recipe import session, emailpassword -from supertokens_python.recipe.emailpassword.interfaces import RecipeInterface, SignInOkResult +from supertokens_python.recipe.emailpassword.interfaces import RecipeInterface, SignUpOkResult from typing import Dict, Any # highlight-start @@ -219,7 +219,7 @@ def override_emailpassword_functions(original_implementation: RecipeInterface) - ): result = await original_sign_up(email, password, tenant_id, user_context) - if isinstance(result, SignInOkResult): + if isinstance(result, SignUpOkResult): id = result.user.user_id email = result.user.email print(id)