mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
Merge pull request #3713 from jonathan-rohde/fix/missing-commits
fix: commit document delete
This commit is contained in:
commit
36c0f7f273
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue