mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
修复build
This commit is contained in:
@@ -223,7 +223,8 @@ async function getPageRecordMapByNotionAPI({ pageId, from }) {
|
||||
return post &&
|
||||
post.type &&
|
||||
(post.type === 'Post' || post.type === 'Page') &&
|
||||
(post.status === 'Published' || post.status === 'Invisible')
|
||||
(post.status === 'Published' || post.status === 'Invisible') &&
|
||||
(!post.slug.startsWith('http'))
|
||||
})
|
||||
|
||||
// Sort by date
|
||||
|
||||
Reference in New Issue
Block a user