Skip to content

Commit 2c1bf3a

Browse files
committed
Fix ratelimits when fetching only page content when markdown is true
1 parent 1f3a659 commit 2c1bf3a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

components/notion/notion.app.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,9 @@ export default {
364364
notionClient: notion,
365365
config: {
366366
separateChildPage: true,
367+
...!shouldRetrieveChildren && {
368+
parseChildPages:false
369+
}
367370
},
368371
});
369372
const blocks = await n2m.pageToMarkdown(pageId);

0 commit comments

Comments
 (0)