diff --git a/v2/thirdparty/common-customizations/deduplication/implementing-deduplication.mdx b/v2/thirdparty/common-customizations/deduplication/implementing-deduplication.mdx index 8c22bbb2e..72cb13ba9 100644 --- a/v2/thirdparty/common-customizations/deduplication/implementing-deduplication.mdx +++ b/v2/thirdparty/common-customizations/deduplication/implementing-deduplication.mdx @@ -175,7 +175,7 @@ def override_thirdparty_functions(original_implementation: RecipeInterface): tenant_id: str, user_context: Dict[str, Any] ) -> SignInUpOkResult: - existing_users = await get_users_by_email(email, tenant_id, user_context) + existing_users = await get_users_by_email(tenant_id, email, user_context) if (len(existing_users) == 0): # this means this email is new so we allow sign up return await original_sign_in_up(third_party_id, third_party_user_id, email, oauth_tokens, raw_user_info_from_provider, tenant_id, user_context) diff --git a/v2/thirdparty/common-customizations/disable-sign-up/thirdparty-changes.mdx b/v2/thirdparty/common-customizations/disable-sign-up/thirdparty-changes.mdx index 1d1c50528..5eb9da1e8 100644 --- a/v2/thirdparty/common-customizations/disable-sign-up/thirdparty-changes.mdx +++ b/v2/thirdparty/common-customizations/disable-sign-up/thirdparty-changes.mdx @@ -281,7 +281,7 @@ def override_^{codeImportRecipeName}_functions(original_implementation: RecipeIn tenant_id: str, user_context: Dict[str, Any] ) -> ^{pythonThirdPartySignInUpOkResult}: - existing_users = await get_users_by_email(email, tenant_id, user_context) + existing_users = await get_users_by_email(tenant_id, email, user_context) if (len(existing_users) == 0): if not await is_email_allowed(email): raise Exception("No sign up") diff --git a/v2/thirdpartyemailpassword/common-customizations/deduplication/implementing-deduplication.mdx b/v2/thirdpartyemailpassword/common-customizations/deduplication/implementing-deduplication.mdx index b49024604..d123b837c 100644 --- a/v2/thirdpartyemailpassword/common-customizations/deduplication/implementing-deduplication.mdx +++ b/v2/thirdpartyemailpassword/common-customizations/deduplication/implementing-deduplication.mdx @@ -204,7 +204,7 @@ def override_thirdpartyemailpassword_functions(original_implementation: RecipeIn tenant_id: str, user_context: Dict[str, Any] ) -> ThirdPartySignInUpOkResult: - existing_users = await get_users_by_email(email, tenant_id, user_context) + existing_users = await get_users_by_email(tenant_id, email, user_context) if (len(existing_users) == 0): # this means this email is new so we allow sign up return await original_thirdparty_sign_in_up(third_party_id, third_party_user_id, email, oauth_tokens, raw_user_info_from_provider, tenant_id, user_context) diff --git a/v2/thirdpartyemailpassword/common-customizations/disable-sign-up/thirdparty-changes.mdx b/v2/thirdpartyemailpassword/common-customizations/disable-sign-up/thirdparty-changes.mdx index 1bd7c0010..fb55cf0fd 100644 --- a/v2/thirdpartyemailpassword/common-customizations/disable-sign-up/thirdparty-changes.mdx +++ b/v2/thirdpartyemailpassword/common-customizations/disable-sign-up/thirdparty-changes.mdx @@ -282,7 +282,7 @@ def override_^{codeImportRecipeName}_functions(original_implementation: RecipeIn tenant_id: str, user_context: Dict[str, Any] ) -> ^{pythonThirdPartySignInUpOkResult}: - existing_users = await get_users_by_email(email, tenant_id, user_context) + existing_users = await get_users_by_email(tenant_id, email, user_context) if (len(existing_users) == 0): if not await is_email_allowed(email): raise Exception("No sign up") diff --git a/v2/thirdpartypasswordless/common-customizations/disable-sign-up/thirdparty-changes.mdx b/v2/thirdpartypasswordless/common-customizations/disable-sign-up/thirdparty-changes.mdx index 1bd7c0010..fb55cf0fd 100644 --- a/v2/thirdpartypasswordless/common-customizations/disable-sign-up/thirdparty-changes.mdx +++ b/v2/thirdpartypasswordless/common-customizations/disable-sign-up/thirdparty-changes.mdx @@ -282,7 +282,7 @@ def override_^{codeImportRecipeName}_functions(original_implementation: RecipeIn tenant_id: str, user_context: Dict[str, Any] ) -> ^{pythonThirdPartySignInUpOkResult}: - existing_users = await get_users_by_email(email, tenant_id, user_context) + existing_users = await get_users_by_email(tenant_id, email, user_context) if (len(existing_users) == 0): if not await is_email_allowed(email): raise Exception("No sign up")