Did some modifications...

This commit is contained in:
Joan
2025-10-29 11:14:34 +01:00
parent 8bcf8c8819
commit c012f03cb4
8 changed files with 420 additions and 168 deletions

View File

@@ -131,8 +131,7 @@ def get_active_raffles():
conn = connect_db()
cur = conn.cursor()
try:
# No price here, as it's per-channel
cur.execute("SELECT id, name, description, image_file_id FROM raffles WHERE active=1")
cur.execute("SELECT * FROM raffles WHERE active=1")
raffles = cur.fetchall()
return raffles
except Exception as e: