From 07eebf6fedb97d58600357bf6b8a54673e0f579b Mon Sep 17 00:00:00 2001 From: Drobysh Date: Thu, 15 Oct 2026 17:01:35 +0000 Subject: [PATCH] =?UTF-8?q?[Eva]=20ChooseWord=20/next:=20=D1=87=D0=B8?= =?UTF-8?q?=D1=82=D0=B0=D0=B5=D0=BC=20difficulty=20=D0=B8=D0=B7=20users?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routers/wordquiz.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/wordquiz.py b/routers/wordquiz.py index 3f00169..d795fbb 100644 --- a/routers/wordquiz.py +++ b/routers/wordquiz.py @@ -14,7 +14,7 @@ async def get_next_quiz(request: Request): pool = await get_pool() async with pool.acquire() as conn: user = await conn.fetchrow( - "SELECT app_language, current_level FROM users WHERE telegram_id = $1", telegram_id + "SELECT app_language, current_level, difficulty FROM users WHERE telegram_id = $1", telegram_id ) if not user: raise HTTPException(401, "User not registered")