diff --git a/v2/emailpassword/common-customizations/handling-signup-success.mdx b/v2/emailpassword/common-customizations/handling-signup-success.mdx index 77ab6cd2f..1f3b990d0 100644 --- a/v2/emailpassword/common-customizations/handling-signup-success.mdx +++ b/v2/emailpassword/common-customizations/handling-signup-success.mdx @@ -112,7 +112,7 @@ SuperTokens.init({ return { ...originalImplementation, signUp: async function (input) { - // First we call the original implementation of signUpPOST. + // First we call the original implementation of signUp. let response = await originalImplementation.signUp(input); // Post sign up response, we check if it was successful @@ -420,7 +420,7 @@ def override_email_password_apis(original_implementation: APIInterface): original_sign_up_post = original_implementation.sign_up_post async def sign_up_post(form_fields: List[FormField], tenant_id: str, api_options: APIOptions, user_context: Dict[str, Any]): - # First we call the original implementation of signInPOST. + # First we call the original implementation of sign_up_post. response = await original_sign_up_post(form_fields, tenant_id, api_options, user_context) # Post sign up response, we check if it was successful diff --git a/v2/emailpassword/common-customizations/signup-form/adding-fields.mdx b/v2/emailpassword/common-customizations/signup-form/adding-fields.mdx index b79e34b18..c18bc8edb 100644 --- a/v2/emailpassword/common-customizations/signup-form/adding-fields.mdx +++ b/v2/emailpassword/common-customizations/signup-form/adding-fields.mdx @@ -414,7 +414,7 @@ def override_email_password_apis(original_implementation: APIInterface): async def sign_up_post(form_fields: List[FormField], tenant_id: str, api_options: APIOptions, user_context: Dict[str, Any]): - # First we call the original implementation of signInPOST. + # First we call the original implementation of sign_up_post. response = await original_sign_up_post(form_fields, tenant_id, api_options, user_context) # Post sign up response, we check if it was successful diff --git a/v2/passwordless/common-customizations/handling-signinup-success.mdx b/v2/passwordless/common-customizations/handling-signinup-success.mdx index eaaf6317b..5627ccbf3 100644 --- a/v2/passwordless/common-customizations/handling-signinup-success.mdx +++ b/v2/passwordless/common-customizations/handling-signinup-success.mdx @@ -170,7 +170,7 @@ func main() { // override the sign in up function (*originalImplementation.ConsumeCode) = func(userInput *plessmodels.UserInputCodeWithDeviceID, linkCode *string, preAuthSessionID string, tenantId string, userContext supertokens.UserContext) (plessmodels.ConsumeCodeResponse, error) { - // First we call the original implementation of ConsumeCodeUp. + // First we call the original implementation of ConsumeCode. response, err := originalConsumeCode(userInput, linkCode, preAuthSessionID, tenantId, userContext) if err != nil { return plessmodels.ConsumeCodeResponse{}, err @@ -224,7 +224,7 @@ def override_passwordless_functions(original_implementation: RecipeInterface) -> tenant_id: str, user_context: Dict[str, Any] ): - # First we call the original implementation of consumeCodePOST. + # First we call the original implementation of consume_code. result = await original_consume_code(pre_auth_session_id, user_input_code, device_id, link_code, tenant_id, user_context) # Post sign up response, we check if it was successful diff --git a/v2/passwordless/common-customizations/userid-format.mdx b/v2/passwordless/common-customizations/userid-format.mdx index 8578b13d7..487c15be4 100644 --- a/v2/passwordless/common-customizations/userid-format.mdx +++ b/v2/passwordless/common-customizations/userid-format.mdx @@ -102,7 +102,7 @@ func main() { // override the sign in up function (*originalImplementation.ConsumeCode) = func(userInput *plessmodels.UserInputCodeWithDeviceID, linkCode *string, preAuthSessionID string, tenantId string, userContext supertokens.UserContext) (plessmodels.ConsumeCodeResponse, error) { - // First we call the original implementation of ConsumeCodeUp. + // First we call the original implementation of ConsumeCode. response, err := originalConsumeCode(userInput, linkCode, preAuthSessionID, tenantId, userContext) if err != nil { return plessmodels.ConsumeCodeResponse{}, err @@ -154,7 +154,7 @@ def override_passwordless_functions(original_implementation: RecipeInterface) -> tenant_id: str, user_context: Dict[str, Any] ): - # First we call the original implementation of consumeCodePOST. + # First we call the original implementation of consume_code. result = await original_consume_code(pre_auth_session_id, user_input_code, device_id, link_code, tenant_id, user_context) # Post sign up response, we check if it was successful diff --git a/v2/thirdparty/common-customizations/handling-signinup-success.mdx b/v2/thirdparty/common-customizations/handling-signinup-success.mdx index 741b55184..e99bacbcb 100644 --- a/v2/thirdparty/common-customizations/handling-signinup-success.mdx +++ b/v2/thirdparty/common-customizations/handling-signinup-success.mdx @@ -112,7 +112,7 @@ SuperTokens.init({ ...originalImplementation, signInUp: async function (input) { - // First we call the original implementation of signInUpPOST. + // First we call the original implementation of signInUp. let response = await originalImplementation.signInUp(input); // Post sign up response, we check if it was successful diff --git a/v2/thirdpartyemailpassword/common-customizations/handling-signinup-success.mdx b/v2/thirdpartyemailpassword/common-customizations/handling-signinup-success.mdx index 1385967ed..77e57ab41 100644 --- a/v2/thirdpartyemailpassword/common-customizations/handling-signinup-success.mdx +++ b/v2/thirdpartyemailpassword/common-customizations/handling-signinup-success.mdx @@ -412,7 +412,7 @@ SuperTokens.init({ return { ...originalImplementation, emailPasswordSignUpPOST: async function (input) { - // First we call the original implementation of signUpPOST. + // First we call the original implementation of emailPasswordSignUpPOST. let response = await originalImplementation.emailPasswordSignUpPOST!(input); // Post sign up response, we check if it was successful diff --git a/v2/thirdpartyemailpassword/common-customizations/signup-form/adding-fields.mdx b/v2/thirdpartyemailpassword/common-customizations/signup-form/adding-fields.mdx index 72476d109..bfbef4245 100644 --- a/v2/thirdpartyemailpassword/common-customizations/signup-form/adding-fields.mdx +++ b/v2/thirdpartyemailpassword/common-customizations/signup-form/adding-fields.mdx @@ -496,7 +496,7 @@ def override_apis(original_implementation: APIInterface): async def emailpassword_sign_up_post(form_fields: List[FormField], tenant_id: str, api_options: EmailPasswordAPIOptions, user_context: Dict[str, Any]): - # First we call the original implementation of sign_up_post + # First we call the original implementation of emailpassword_sign_up_post response = await original_emailpassword_sign_up_post(form_fields, tenant_id, api_options, user_context) # Post sign up response, we check if it was successful diff --git a/v2/thirdpartypasswordless/common-customizations/handling-signinup-success.mdx b/v2/thirdpartypasswordless/common-customizations/handling-signinup-success.mdx index 75be8c98e..11c40eb1d 100644 --- a/v2/thirdpartypasswordless/common-customizations/handling-signinup-success.mdx +++ b/v2/thirdpartypasswordless/common-customizations/handling-signinup-success.mdx @@ -143,7 +143,7 @@ SuperTokens.init({ }, consumeCode: async (input) => { - // First we call the original implementation of consumeCodePOST. + // First we call the original implementation of consumeCode. const response = await originalImplementation.consumeCode(input); // Post sign up response, we check if it was successful @@ -229,7 +229,7 @@ func main() { // override the passwordless sign in up function (*originalImplementation.ConsumeCode) = func(userInput *plessmodels.UserInputCodeWithDeviceID, linkCode *string, preAuthSessionID string, tenantId string, userContext supertokens.UserContext) (tplmodels.ConsumeCodeResponse, error) { - // First we call the original implementation of ConsumeCodeUp. + // First we call the original implementation of ConsumeCode. response, err := originalConsumeCode(userInput, linkCode, preAuthSessionID, tenantId, userContext) if err != nil { return tplmodels.ConsumeCodeResponse{}, err @@ -317,7 +317,7 @@ def override_thirdpartypasswordless_functions(original_implementation: RecipeInt tenant_id: str, user_context: Dict[str, Any] ): - # First we call the original implementation of consumeCodePOST. + # First we call the original implementation of consume_code. result = await original_consume_code(pre_auth_session_id, user_input_code, device_id, link_code, tenant_id, user_context) # Post sign up response, we check if it was successful diff --git a/v2/thirdpartypasswordless/common-customizations/userid-format.mdx b/v2/thirdpartypasswordless/common-customizations/userid-format.mdx index 1eafcb724..0c6c4282e 100644 --- a/v2/thirdpartypasswordless/common-customizations/userid-format.mdx +++ b/v2/thirdpartypasswordless/common-customizations/userid-format.mdx @@ -77,7 +77,7 @@ SuperTokens.init({ }, consumeCode: async (input) => { - // First we call the original implementation of consumeCodePOST. + // First we call the original implementation of consumeCode. const response = await originalImplementation.consumeCode(input); // Post sign up response, we check if it was successful @@ -163,7 +163,7 @@ func main() { // override the passwordless sign in up function (*originalImplementation.ConsumeCode) = func(userInput *plessmodels.UserInputCodeWithDeviceID, linkCode *string, preAuthSessionID string, tenantId string, userContext supertokens.UserContext) (tplmodels.ConsumeCodeResponse, error) { - // First we call the original implementation of ConsumeCodeUp. + // First we call the original implementation of ConsumeCode. response, err := originalConsumeCode(userInput, linkCode, preAuthSessionID, tenantId, userContext) if err != nil { return tplmodels.ConsumeCodeResponse{}, err