fix(proxy_server.py): handle pydantic json versioning issue

This commit is contained in:
Krrish Dholakia 2024-03-28 23:23:50 -07:00
parent 5e55df1eaf
commit 618cb2441a

View file

@ -5820,7 +5820,10 @@ async def new_team(
} }
}, },
) )
return team_row try:
return team_row.model_dump()
except Exception as e:
return team_row.dict()
@router.post( @router.post(