mirror of https://github.com/langgenius/dify.git
fix: files/support-type JSON serialization error (#26842)
This commit is contained in:
parent
3cfcd32876
commit
56ee8f7d64
|
|
@ -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)}
|
||||
|
|
|
|||
Loading…
Reference in New Issue