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

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