From cc2c9a3647cf6ff210ff33c0af229e364b937184 Mon Sep 17 00:00:00 2001 From: Brian Wiborg Date: Mon, 29 Sep 2025 13:47:47 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20FQMN?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ohmyapi/builtin/demo/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ohmyapi/builtin/demo/routes.py b/src/ohmyapi/builtin/demo/routes.py index 5489942..212c2be 100644 --- a/src/ohmyapi/builtin/demo/routes.py +++ b/src/ohmyapi/builtin/demo/routes.py @@ -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)