minor fixes
This commit is contained in:
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user