From d8884664fa09f0391dcf4b6ce5028244596a3807 Mon Sep 17 00:00:00 2001 From: Sam Hadow Date: Sun, 4 Feb 2024 19:53:59 +0100 Subject: [PATCH] fixed delete --- src/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()