fix deletes

This commit is contained in:
evilchili
2024-02-23 11:02:36 -08:00
parent 9757d3bee0
commit 75b9aec28e
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -124,7 +124,6 @@ class BaseController:
return
with db.transaction():
db.query(self.model).filter_by(id=self.record.id).delete()
logging.debug(f"Deleted {self.record = }")
location = self.request.current_route_path()
return HTTPFound(location=location)