mirror of
https://github.com/open-webui/open-webui
synced 2024-11-25 05:18:15 +00:00
Merge pull request #3713 from jonathan-rohde/fix/missing-commits
fix: commit document delete
This commit is contained in:
commit
36c0f7f273
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user