From 929420a2845e9fc3058cbb616fe65a3d288192ab Mon Sep 17 00:00:00 2001 From: Drobysh Date: Wed, 14 Oct 2026 09:37:10 +0000 Subject: [PATCH 1/2] =?UTF-8?q?[Eva]=20bubblewords=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/bubblewords.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/bubblewords.py b/routers/bubblewords.py index cf55cc5..87d36e6 100644 --- a/routers/bubblewords.py +++ b/routers/bubblewords.py @@ -101,7 +101,7 @@ async def get_next_bubble_level(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") -- 2.54.0 From 99dd3765d011e3f4c6cf2eba978a522b1da8a04a Mon Sep 17 00:00:00 2001 From: Drobysh Date: Wed, 14 Oct 2026 09:37:14 +0000 Subject: [PATCH 2/2] =?UTF-8?q?[Eva]=20bubblewords=20/next:=20=D0=B2=D0=BE?= =?UTF-8?q?=D0=B7=D0=B2=D1=80=D0=B0=D1=89=D0=B0=D0=B5=D0=BC=20difficulty?= =?UTF-8?q?=20=D0=B2=20=D0=BE=D1=82=D0=B2=D0=B5=D1=82=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routers/bubblewords.py | 1 + 1 file changed, 1 insertion(+) diff --git a/routers/bubblewords.py b/routers/bubblewords.py index 87d36e6..baea1dd 100644 --- a/routers/bubblewords.py +++ b/routers/bubblewords.py @@ -189,6 +189,7 @@ async def get_next_bubble_level(request: Request): "words": result_words, "bubbles": all_parts, "level": current_bubble_level, + "difficulty": user["difficulty"] or "medium", } -- 2.54.0