mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
parent
de6b442f31
commit
8b0b2b4415
|
|
@ -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