Merge pull request #1450 from vinodkiran/BUGFIX/NotionDB-load-empty

Bugfix: Upsert successful, but failed to insert documents
This commit is contained in:
Henry Heng
2023-12-30 12:29:54 +00:00
committed by GitHub
@@ -66,6 +66,10 @@ class NotionDB_DocumentLoaders implements INode {
auth: notionIntegrationToken auth: notionIntegrationToken
}, },
id: databaseId, id: databaseId,
callerOptions: {
maxConcurrency: 64 // Default value
},
propertiesAsHeader: true, // Prepends a front matter header of the page properties to the page contents
type: 'database' type: 'database'
} }
const loader = new NotionAPILoader(obj) const loader = new NotionAPILoader(obj)