From e3f3cac10f23720da68feab04f412df0bce6f7ce Mon Sep 17 00:00:00 2001 From: jyong <718720800@qq.com> Date: Tue, 14 Oct 2025 12:04:59 +0800 Subject: [PATCH] return {"allowed_extensions": list(DOCUMENT_EXTENSIONS)} --- api/controllers/console/files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/controllers/console/files.py b/api/controllers/console/files.py index 34f186e2f0..2b63f6febc 100644 --- a/api/controllers/console/files.py +++ b/api/controllers/console/files.py @@ -108,4 +108,4 @@ class FileSupportTypeApi(Resource): @login_required @account_initialization_required def get(self): - return {"allowed_extensions": DOCUMENT_EXTENSIONS} + return {"allowed_extensions": list(DOCUMENT_EXTENSIONS)}