浏览代码

fix file estimate issue (#1860)

Co-authored-by: jyong <jyong@dify.ai>
tags/0.4.0
Jyong 1年前
父节点
当前提交
e91dd28a76
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      api/controllers/console/datasets/datasets_document.py

+ 1
- 1
api/controllers/console/datasets/datasets_document.py 查看文件

@@ -410,7 +410,7 @@ class DocumentBatchIndexingEstimateApi(DocumentResource):
if dataset.data_source_type == 'upload_file':
file_details = db.session.query(UploadFile).filter(
UploadFile.tenant_id == current_user.current_tenant_id,
UploadFile.id in info_list
UploadFile.id.in_(info_list)
).all()

if file_details is None:

正在加载...
取消
保存