From 10fc44e2af1eeb22816ca0e7f751d35e35e585ed Mon Sep 17 00:00:00 2001 From: taokuizu Date: Tue, 19 Dec 2023 09:23:49 +0000 Subject: [PATCH] fix typo (#1791) --- api/controllers/console/datasets/file.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/controllers/console/datasets/file.py b/api/controllers/console/datasets/file.py index e872269db3..19404af4a9 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//preview') -api.add_resource(FileeSupportTypApi, '/files/support-type') +api.add_resource(FileSupportTypeApi, '/files/support-type')