Unverified Commit 36c0f7f2 authored by Timothy Jaeryang Baek's avatar Timothy Jaeryang Baek Committed by GitHub
Browse files

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

fix: commit document delete
parents 47ec2425 3b112375
...@@ -158,6 +158,7 @@ class DocumentsTable: ...@@ -158,6 +158,7 @@ class DocumentsTable:
with get_db() as db: with get_db() as db:
db.query(Document).filter_by(name=name).delete() db.query(Document).filter_by(name=name).delete()
db.commit()
return True return True
except: except:
return False return False
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment