mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-12-03 19:57:37 +08:00
fix: document paused at format error (#925)
This commit is contained in:
parent
8d6d1c442b
commit
22c1aafb9b
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user