mirror of
https://github.com/langgenius/dify.git
synced 2024-11-15 19:22:36 +08:00
fix(api): remove fixed source attribute from FileApi (#10353)
This commit is contained in:
parent
ac0fed6402
commit
1dae1a71fc
|
@ -41,7 +41,6 @@ class FileApi(Resource):
|
|||
content=file.read(),
|
||||
mimetype=file.mimetype,
|
||||
user=end_user,
|
||||
source="datasets",
|
||||
)
|
||||
except services.errors.file.FileTooLargeError as file_too_large_error:
|
||||
raise FileTooLargeError(file_too_large_error.description)
|
||||
|
|
Loading…
Reference in New Issue
Block a user