diff --git a/src/db.py b/src/db.py index 42fe655..7ed4ece 100644 --- a/src/db.py +++ b/src/db.py @@ -135,7 +135,7 @@ def delete_item(uuid): """, (uuid,)) cursor.execute(""" DELETE - FROM history + FROM item WHERE uuid = %s """, (uuid,)) cursor.close()