Skip to content

Commit

Permalink
fix: Suggested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
KShivendu committed Jul 19, 2023
1 parent 9c92072 commit f8eb3f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion supertokens_python/recipe/multitenancy/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,5 +337,5 @@ async def login_methods_get(

TypeGetAllowedDomainsForTenantId = Callable[
[Optional[str], Dict[str, Any]],
Awaitable[List[str]],
Awaitable[Optional[List[str]]]
]
2 changes: 1 addition & 1 deletion supertokens_python/recipe/multitenancy/recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ async def login_methods_get(

class AllowedDomainsClaimClass(PrimitiveArrayClaim[List[str]]):
def __init__(self):
default_max_age_in_sec = 60 * 60 * 24 * 7
default_max_age_in_sec = 60 * 60

async def fetch_value(
_: str, tenant_id: str, user_context: Dict[str, Any]
Expand Down

0 comments on commit f8eb3f4

Please sign in to comment.