Skip to content

Commit 30b27a8

Browse files
authored
Merge pull request #1450 from vinodkiran/BUGFIX/NotionDB-load-empty
Bugfix: Upsert successful, but failed to insert documents
2 parents 0f03fe5 + fe0c222 commit 30b27a8

File tree

1 file changed

+4
-0
lines changed
  • packages/components/nodes/documentloaders/Notion

1 file changed

+4
-0
lines changed

packages/components/nodes/documentloaders/Notion/NotionDB.ts

+4
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ class NotionDB_DocumentLoaders implements INode {
6666
auth: notionIntegrationToken
6767
},
6868
id: databaseId,
69+
callerOptions: {
70+
maxConcurrency: 64 // Default value
71+
},
72+
propertiesAsHeader: true, // Prepends a front matter header of the page properties to the page contents
6973
type: 'database'
7074
}
7175
const loader = new NotionAPILoader(obj)

0 commit comments

Comments
 (0)