This commit is contained in:
tlyong1992
2022-05-19 16:24:58 +08:00
parent 4842c41f49
commit c68178a402

View File

@@ -246,10 +246,9 @@ async function getPageRecordMapByNotionAPI({ pageId, from }) {
if (!value) {
continue
}
collectionData.push(properties)
const properties = (await getPageProperties(id, block, schema, null, tagOptions, siteInfo)) || null
if (properties) {
data.push(properties)
collectionData.push(properties)
}
}