diff options
Diffstat (limited to 'src/db.py')
| -rw-r--r-- | src/db.py | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -142,7 +142,6 @@ async def get_active_users() -> list[dict]: rows = await cursor.fetchall() return [dict(row) for row in rows] - async def add_vote(deployment_id: int, voter_id: str, vote: str): async with aiosqlite.connect(DB_PATH) as db: await db.execute("INSERT OR REPLACE INTO Votes (deployment_id, voter_id, vote) VALUES (?, ?, ?)", (deployment_id, voter_id, vote)) |
