diff options
Diffstat (limited to 'gn3')
-rw-r--r-- | gn3/db/case_attributes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/db/case_attributes.py b/gn3/db/case_attributes.py index 1d82f00..bb15248 100644 --- a/gn3/db/case_attributes.py +++ b/gn3/db/case_attributes.py @@ -90,7 +90,7 @@ def approve_case_attribute(conn: Any, case_attr_audit_id: int) -> int: elif diff_data.get("Deletion"): data = diff_data.get("Deletion") cursor.execute( - "DELETE FROM CaseAttribute " "WHERE Id = %s", + "DELETE FROM CaseAttribute WHERE Id = %s", (data.get("id"),), ) # Modification |