feat(documents): commit document delete

This commit is contained in:
Jonathan Rohde 2024-07-08 09:14:45 +02:00
parent 47ec2425ee
commit 3b112375ee

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