Skip to content

Commit f8eb3f4

Browse files
committed
fix: Suggested changes
1 parent 9c92072 commit f8eb3f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

supertokens_python/recipe/multitenancy/interfaces.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,5 +337,5 @@ async def login_methods_get(
337337

338338
TypeGetAllowedDomainsForTenantId = Callable[
339339
[Optional[str], Dict[str, Any]],
340-
Awaitable[List[str]],
340+
Awaitable[Optional[List[str]]]
341341
]

supertokens_python/recipe/multitenancy/recipe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ async def login_methods_get(
262262

263263
class AllowedDomainsClaimClass(PrimitiveArrayClaim[List[str]]):
264264
def __init__(self):
265-
default_max_age_in_sec = 60 * 60 * 24 * 7
265+
default_max_age_in_sec = 60 * 60
266266

267267
async def fetch_value(
268268
_: str, tenant_id: str, user_context: Dict[str, Any]

0 commit comments

Comments
 (0)