Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix typo (#1791)

taokuizu10fc44e2af1e
diff --git a/api/controllers/console/datasets/file.py b/api/controllers/console/datasets/file.py
index e872269db3e..19404af4a99 100644
--- a/api/controllers/console/datasets/file.py
+++ b/api/controllers/console/datasets/file.py
@@ -69,7 +69,7 @@ class FilePreviewApi(Resource):
return {'content': text}
-class FileeSupportTypApi(Resource):
+class FileSupportTypeApi(Resource):
@setup_required
@login_required
@account_initialization_required
@@ -85,4 +85,4 @@ class FileeSupportTypApi(Resource):
api.add_resource(FileApi, '/files/upload')
api.add_resource(FilePreviewApi, '/files/<uuid:file_id>/preview')
-api.add_resource(FileeSupportTypApi, '/files/support-type')
+api.add_resource(FileSupportTypeApi, '/files/support-type')