Unverified Commit e91dd28a authored by Jyong's avatar Jyong Committed by GitHub

fix file estimate issue (#1860)

Co-authored-by: 's avatarjyong <jyong@dify.ai>
parent 595e9b25
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment