mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
fix: files/support-type JSON serialization error (#26842)
This commit is contained in:
1 parent
3cfcd32876
commit
56ee8f7d64
1 file changed
+1
-1
@@ -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)}
|
||||
Reference in new issue
Block a user