fix(api): remove fixed source attribute from FileApi (#10353)

This commit is contained in:
-LAN- 2024-11-06 12:29:58 +08:00 committed by Joel
parent 0a4b256b5a
commit a2b42c9431

View File

@ -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)