Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

fix minio error (#2321)

Kevin Hu22acd0ac6775
diff --git a/api/apps/file_app.py b/api/apps/file_app.py
index 555a4658e0..8aec9b832f 100644
--- a/api/apps/file_app.py
+++ b/api/apps/file_app.py
@@ -116,7 +116,7 @@ def upload():
"size": len(blob),
}
file = FileService.insert(file)
- MINIO.put(last_folder.id, location, blob)
+ STORAGE_IMPL.put(last_folder.id, location, blob)
file_res.append(file.to_json())
return get_json_result(data=file_res)
except Exception as e: