fix: 修复文档同步文档状态错误 (#942)
This commit is contained in:
parent
0e186f3f5a
commit
59af953caa
@ -365,7 +365,7 @@ class DocumentSerializers(ApiMixin, serializers.Serializer):
|
||||
if document.type != Type.web:
|
||||
return True
|
||||
try:
|
||||
document.status = Status.embedding
|
||||
document.status = Status.queue_up
|
||||
document.save()
|
||||
source_url = document.meta.get('source_url')
|
||||
selector_list = document.meta.get('selector').split(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user