fix test issues

This commit is contained in:
2025-10-21 19:42:39 +02:00
parent 2e57c4f424
commit 71841645cf
7 changed files with 321 additions and 290 deletions

View File

@@ -88,7 +88,7 @@ async def get_optional_auth(
try:
# Validate and decode token using the auth service
session = auth_service.create_session_model(token)
return session.dict()
return session.model_dump()
except AuthError:
return None