mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
fix(api): remove fixed source attribute from FileApi (#10353)
This commit is contained in:
parent
0a4b256b5a
commit
a2b42c9431
|
@ -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