fix 统一处理db事务回滚

This commit is contained in:
jxxghp
2023-09-05 18:19:02 +08:00
parent 51b959cff8
commit b5fc6cdd1e
6 changed files with 24 additions and 16 deletions

View File

@ -122,4 +122,4 @@ class TransferHistory(Base):
"download_hash": download_hash
}
)
db.commit()
Base.commit(db)