We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d160b7 commit e8e4969Copy full SHA for e8e4969
lib/notion.js
@@ -40,7 +40,7 @@ export async function getAllPosts() {
40
property.id = block.id.split('-').join('')
41
property.fullWidth = block?.format?.page_full_width ?? false
42
const date = block.properties?.[dateSchema]
43
- property.date = getDateValue(date)?.start_date
+ property.date = getDateValue(date)?.start_date || null
44
const tagArr = getPageProperty('tags', block, recordMap)
45
property.tags = !tagArr.length ? null : tagArr.split(',')
46
acc.push(property)
0 commit comments