Skip to content

Commit d294501

Browse files
committed
fix: tenant_id order
1 parent 481c08d commit d294501

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

supertokens_python/recipe/thirdparty/api/authorisation_url.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ async def handle_authorisation_url_api(
5858

5959
provider_response = await api_options.recipe_implementation.get_provider(
6060
third_party_id=third_party_id,
61-
tenant_id=tenant_id,
6261
client_type=client_type,
62+
tenant_id=tenant_id,
6363
user_context=user_context,
6464
)
6565

supertokens_python/recipe/thirdparty/api/signinup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ async def handle_sign_in_up_api(
6969

7070
provider_response = await api_options.recipe_implementation.get_provider(
7171
third_party_id=third_party_id,
72-
tenant_id=tenant_id,
7372
client_type=client_type,
73+
tenant_id=tenant_id,
7474
user_context=user_context,
7575
)
7676

supertokens_python/recipe/thirdparty/asyncio/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,12 @@ async def manually_create_or_update_user(
6868

6969
async def get_provider(
7070
third_party_id: str,
71-
tenant_id: Optional[str] = None,
7271
client_type: Optional[str] = None,
72+
tenant_id: Optional[str] = None,
7373
user_context: Union[None, Dict[str, Any]] = None,
7474
):
7575
if user_context is None:
7676
user_context = {}
7777
return await ThirdPartyRecipe.get_instance().recipe_implementation.get_provider(
78-
third_party_id, tenant_id, client_type, user_context
78+
third_party_id, client_type, tenant_id, user_context
7979
)

supertokens_python/recipe/thirdparty/syncio/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ def manually_create_or_update_user(
6767

6868
def get_provider(
6969
third_party_id: str,
70-
tenant_id: Optional[str] = None,
7170
client_type: Optional[str] = None,
71+
tenant_id: Optional[str] = None,
7272
user_context: Union[None, Dict[str, Any]] = None,
7373
):
7474
from supertokens_python.recipe.thirdparty.asyncio import get_provider
7575

76-
return sync(get_provider(third_party_id, tenant_id, client_type, user_context))
76+
return sync(get_provider(third_party_id, client_type, tenant_id, user_context))

0 commit comments

Comments
 (0)