Commit 3b112375 authored by Jonathan Rohde's avatar Jonathan Rohde
Browse files

feat(documents): commit document delete

parent 47ec2425
......@@ -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
......
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