Skip to content

Commit

Permalink
Merge pull request #514 from ulion/feature/fix_nonalive_page_issue
Browse files Browse the repository at this point in the history
  • Loading branch information
transitive-bullshit authored Oct 5, 2024
2 parents b6afe49 + fb701d5 commit 3e8b41b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/notion-utils/src/get-all-pages-in-space.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export async function getAllPagesInSpace(
Object.keys(page.block)
.filter((key) => {
const block = page.block[key]?.value
if (!block) return false
if (!block || block.alive === false) return false

if (
block.type !== 'page' &&
Expand Down

0 comments on commit 3e8b41b

Please sign in to comment.