mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
fix: refc code to use dictionary serialization instead of model_dump()
This commit is contained in:
parent
7d86ff4a85
commit
b57e6e55ce
6 changed files with 9 additions and 7 deletions
|
|
@ -8,7 +8,7 @@ router = APIRouter()
|
|||
@router.get("/config")
|
||||
async def config():
|
||||
config = get_learnhouse_config()
|
||||
return config.model_dump()
|
||||
return config.dict()
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue