From a5ea052027be70c878f02a54f1bb680eda564dcc Mon Sep 17 00:00:00 2001 From: Aaron Kimbre Date: Mon, 23 May 2022 14:18:55 -0500 Subject: [PATCH] fix account deletion --- app/accounts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/accounts.py b/app/accounts.py index 173d16e..5aaa2d2 100644 --- a/app/accounts.py +++ b/app/accounts.py @@ -169,7 +169,7 @@ def delete(id): prop.delete() char.delete() # This is for GM stuff, it will be permnently delete logs - bugs = BugReport.query.filter(BugReport.resolve_by_id == id).all() + bugs = BugReport.query.filter(BugReport.resoleved_by_id == id).all() for bug in bugs: bug.delete() audits = AuditLog.query.filter(AuditLog.account_id == id).all()