minor fixes

This commit is contained in:
SashegDev
2026-06-07 16:36:50 +03:00
parent ec7ef01760
commit b493b3278b
15 changed files with 138 additions and 106 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ async def sync_playtime(
with get_db() as conn:
cursor = conn.execute(
"SELECT id, minutes FROM playtime WHERE user_id = ? AND pack_name = ?",
(current_user["user_id"], req.pack_name)
(current_user["id"], req.pack_name)
)
existing = cursor.fetchone()
if existing: