mirror of
https://github.com/DarkflameUniverse/NexusDashboard.git
synced 2024-11-22 05:27:25 +00:00
fix account deletion
This commit is contained in:
parent
ad237b121b
commit
a5ea052027
@ -169,7 +169,7 @@ def delete(id):
|
|||||||
prop.delete()
|
prop.delete()
|
||||||
char.delete()
|
char.delete()
|
||||||
# This is for GM stuff, it will be permnently delete logs
|
# 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:
|
for bug in bugs:
|
||||||
bug.delete()
|
bug.delete()
|
||||||
audits = AuditLog.query.filter(AuditLog.account_id == id).all()
|
audits = AuditLog.query.filter(AuditLog.account_id == id).all()
|
||||||
|
Loading…
Reference in New Issue
Block a user