[Eva] Ева, прочитай .gitignore #33

Merged
Drobysh merged 7 commits from eva/chat-c3088d-backend into main 2026-10-13 11:23:16 +00:00
Showing only changes of commit 6f341a7f33 - Show all commits
+2 -2
View File
@@ -251,7 +251,7 @@ async def award_xp(
) )
# 6. Обновляем user_profile # 6. Обновляем user_profile
new_total = old_total + points new_total = old_total + final_points
await conn.execute( await conn.execute(
""" """
UPDATE user_profile UPDATE user_profile
@@ -260,7 +260,7 @@ async def award_xp(
updated_at = NOW() updated_at = NOW()
WHERE user_id = $1 WHERE user_id = $1
""", """,
user_id, points, user_id, final_points,
) )
# 7. Считаем новый уровень # 7. Считаем новый уровень