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

@@ -124,7 +124,7 @@ def get_current_user(
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 as e:
raise HTTPException(
status_code=status.HTTP_401_UNAUTHORIZED,