瀏覽代碼

fix notion page display (#15508)

tags/1.0.1
Jyong 7 月之前
父節點
當前提交
1ffda0dd34
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      api/controllers/console/datasets/data_source.py

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

@@ -122,7 +122,7 @@ class DataSourceNotionListApi(Resource):
if dataset.data_source_type != "notion_import":
raise ValueError("Dataset is not notion type.")

documents = session.execute(
documents = session.scalars(
select(Document).filter_by(
dataset_id=dataset_id,
tenant_id=current_user.current_tenant_id,

Loading…
取消
儲存