post-list-fix

This commit is contained in:
tangly1024
2023-03-26 13:10:47 +08:00
parent e4209f798d
commit 9db35e2ebf

View File

@@ -227,7 +227,7 @@ async function getPageRecordMapByNotionAPI({ pageId, from }) {
}
return post && post?.slug &&
(!post?.slug?.startsWith('http')) &&
(post?.status === BLOG.NOTION_PROPERTY_NAME.status_publish || post?.status === BLOG.NOTION_PROPERTY_NAME.status_invisible)
(post?.status === 'Invisible' || post?.status === 'Published')
})
// Sort by date