瀏覽代碼

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

tags/0.11.1
-LAN- 1 年之前
父節點
當前提交
1dae1a71fc
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 0 行新增1 行删除
  1. 0
    1
      api/controllers/service_api/app/file.py

+ 0
- 1
api/controllers/service_api/app/file.py 查看文件

@@ -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…
取消
儲存