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 3aba73c commit fb701d5Copy full SHA for fb701d5
packages/notion-utils/src/get-all-pages-in-space.ts
@@ -74,7 +74,7 @@ export async function getAllPagesInSpace(
74
Object.keys(page.block)
75
.filter((key) => {
76
const block = page.block[key]?.value
77
- if (!block) return false
+ if (!block || block.alive === false) return false
78
79
if (
80
block.type !== 'page' &&
0 commit comments