🐛 Fix FQMN
This commit is contained in:
parent
737a06c05d
commit
cc2c9a3647
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ router = APIRouter(prefix="/tournemant")
|
|||
)
|
||||
async def list():
|
||||
"""List all tournaments."""
|
||||
return await models.Tournament.Schema.model.from_queryset(Tournament.all())
|
||||
return await models.Tournament.Schema.model.from_queryset(models.Tournament.all())
|
||||
|
||||
|
||||
@router.post("/", tags=["tournament"], status_code=HTTPStatus.CREATED)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue