fix: files/support-type JSON serialization error (#26842)

This commit is contained in:
heyszt 2025-10-14 09:20:19 +08:00 committed by GitHub
parent 3cfcd32876
commit 56ee8f7d64
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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)}