mirror of
https://github.com/langgenius/dify.git
synced 2026-04-21 15:28:42 +08:00
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
|
@login_required
|
||||||
@account_initialization_required
|
@account_initialization_required
|
||||||
def get(self):
|
def get(self):
|
||||||
return {"allowed_extensions": DOCUMENT_EXTENSIONS}
|
return {"allowed_extensions": list(DOCUMENT_EXTENSIONS)}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user