Skip to content

Commit

Permalink
docs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed May 27, 2024
1 parent 107a04c commit e72aca8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit e72aca8

Please sign in to comment.