🐛 Fix FQMN

This commit is contained in:
Brian Wiborg 2025-09-29 13:47:47 +02:00
parent 737a06c05d
commit cc2c9a3647
No known key found for this signature in database

View file

@ -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)