From 38e0c2fe80cf174b945783f5fadf6716f35a9fe4 Mon Sep 17 00:00:00 2001 From: Drobysh Date: Thu, 15 Oct 2026 17:45:27 +0000 Subject: [PATCH] =?UTF-8?q?[Eva]=20Fix=20500=20on=20/wordquiz/next:=20LIMI?= =?UTF-8?q?T=20(wrong=5Fcount=20+=201)=20=E2=86=92=20LIMIT=205=20(fallback?= =?UTF-8?q?)?= 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 dd94965..df5f79a 100644 --- a/routers/wordquiz.py +++ b/routers/wordquiz.py @@ -86,7 +86,7 @@ async def get_next_quiz(request: Request): FROM csv_words WHERE level_code = $1 AND word_pl != $2 ORDER BY RANDOM() - LIMIT (wrong_count + 1) + LIMIT 5 """, current_level, correct_polish) wrong_options = []