瀏覽代碼

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:

Loading…
取消
儲存