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
commit 36c0f7f273
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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