fix process folder bug
This commit is contained in:
parent
60fa42f0a2
commit
1615433415
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ class DocumentService:
|
||||||
"content_length": len(full_content)
|
"content_length": len(full_content)
|
||||||
}
|
}
|
||||||
|
|
||||||
async def process_single_file_task(self, upload_task, file_path: str, owner_user_id: str = None, jwt_token: str = None, owner_name: str = None, owner_email: str = None):
|
async def process_single_file_task(self, upload_task, file_path: str, owner_user_id: str = None, jwt_token: str = None, owner_name: str = None, owner_email: str = None, connector_type: str = "local"):
|
||||||
"""Process a single file and update task tracking - used by task service"""
|
"""Process a single file and update task tracking - used by task service"""
|
||||||
from models.tasks import TaskStatus
|
from models.tasks import TaskStatus
|
||||||
import time
|
import time
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue