diff --git a/api/services/dataset_service.py b/api/services/dataset_service.py index 636f0fa08..f17f956a3 100644 --- a/api/services/dataset_service.py +++ b/api/services/dataset_service.py @@ -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()