mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
fix bug about fetching file from minio (#574)
### What problem does this PR solve? ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -21,7 +21,6 @@ from api.db.db_models import DB, File2Document, Knowledgebase
|
||||
from api.db.db_models import File, Document
|
||||
from api.db.services.common_service import CommonService
|
||||
from api.utils import get_uuid
|
||||
from rag.utils import MINIO
|
||||
|
||||
|
||||
class FileService(CommonService):
|
||||
@ -241,3 +240,4 @@ class FileService(CommonService):
|
||||
|
||||
dfs(folder_id)
|
||||
return size
|
||||
|
||||
|
||||
Reference in New Issue
Block a user