This commit is contained in:
Waylon Walker 2023-06-11 10:46:37 -05:00
parent 83313f6cd4
commit 5101d4c478
5 changed files with 35 additions and 16 deletions

View file

@ -82,4 +82,4 @@ async def get_heros(
session: Session = Depends(get_session),
) -> list[Hero]:
"get all heros"
return HeroRead.list(session=session)
return Heros.list(session=session)