Merge pull request #3713 from jonathan-rohde/fix/missing-commits

fix: commit document delete
This commit is contained in:
Timothy Jaeryang Baek
2024-07-08 10:22:40 -07:00
committed by GitHub

View File

@@ -158,6 +158,7 @@ class DocumentsTable:
with get_db() as db:
db.query(Document).filter_by(name=name).delete()
db.commit()
return True
except:
return False