We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2edac0 commit f9ff004Copy full SHA for f9ff004
src/notion-api/get-pages.js
@@ -17,7 +17,7 @@ exports.getPages = async ({ token, databaseId, notionVersion = "2021-05-13" }, r
17
}).then((res) => res.json())
18
19
for (let page of db.results) {
20
- page.children = await getBlocks({ id: page.id, block: page, token, notionVersion }, reporter)
+ page.children = await getBlocks({ id: page.id, token, notionVersion }, reporter)
21
}
22
23
return db.results
0 commit comments