[Eva] Ева, привет! Новая задача: игра «Составь #50

Merged
Drobysh merged 15 commits from eva/chat-ec3e05-backend into main 2026-10-16 10:59:05 +00:00
Showing only changes of commit 82eb9208d8 - Show all commits
+1 -1
View File
@@ -236,7 +236,7 @@ async def check_sentence(request: Request):
raise HTTPException(404, "Sentence not found")
existing_progress = await conn.fetchrow(
"SELECT score, completed_at FROM sentence_progress WHERE user_id = $1 AND sentence_id = $2",
"SELECT score, completed_at FROM sentence_progress WHERE user_id = $1 AND sentence_id = $2 AND completed_at IS NOT NULL",
telegram_id, sentence_id
)