mirror of
https://github.com/YFGaia/dify-plus.git
synced 2026-06-14 20:41:21 +08:00
fix: document paused at format error (#925)
This commit is contained in:
@@ -370,8 +370,8 @@ class DocumentService:
|
||||
raise DocumentIndexingError()
|
||||
# update document to be recover
|
||||
document.is_paused = False
|
||||
document.paused_by = current_user.id
|
||||
document.paused_at = time.time()
|
||||
document.paused_by = None
|
||||
document.paused_at = None
|
||||
|
||||
db.session.add(document)
|
||||
db.session.commit()
|
||||
|
||||
Reference in New Issue
Block a user