add emergency verification table cleanup loop

This commit is contained in:
Leander Furumo committed 2024-04-11 01:36:34 +02:00
1 parent d2e014a9c5
commit ab9a0adb4d
2 files changed
+31 -3

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@ async def callback(request: Request, code: str, state: str):
# Check if user is pending verification
db_cursor.execute(
"""
SELECT *
SELECT discord_id, challenge, state
FROM galtinn_verification WHERE state = %s
""",
(state,),