Skip to content

Commit

Permalink
Merge
Browse files Browse the repository at this point in the history
  • Loading branch information
tangly1024 committed May 19, 2022
1 parent 4842c41 commit c68178a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/notion/getNotionData.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit c68178a

Please sign in to comment.