wip
This commit is contained in:
parent
d747299c95
commit
f0f1ce5018
3 changed files with 19 additions and 22 deletions
|
|
@ -83,5 +83,5 @@ async def get_heros(
|
|||
) -> Heros:
|
||||
"get all heros"
|
||||
statement = select(Hero)
|
||||
heros = session.execute(statement).all()
|
||||
heros = session.exec(statement).all()
|
||||
return Heros(__root__=heros)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue