Skip to content

Commit e72aca8

Browse files
committed
docs fix
1 parent 107a04c commit e72aca8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

v2/emailpassword/common-customizations/handling-signup-success.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ func main() {
204204
```python
205205
from supertokens_python import init, InputAppInfo
206206
from supertokens_python.recipe import session, emailpassword
207-
from supertokens_python.recipe.emailpassword.interfaces import RecipeInterface, SignInOkResult
207+
from supertokens_python.recipe.emailpassword.interfaces import RecipeInterface, SignUpOkResult
208208
from typing import Dict, Any
209209

210210
# highlight-start
@@ -219,7 +219,7 @@ def override_emailpassword_functions(original_implementation: RecipeInterface) -
219219
):
220220
result = await original_sign_up(email, password, tenant_id, user_context)
221221

222-
if isinstance(result, SignInOkResult):
222+
if isinstance(result, SignUpOkResult):
223223
id = result.user.user_id
224224
email = result.user.email
225225
print(id)

0 commit comments

Comments
 (0)