Skip to content

Commit a6be9c3

Browse files
committed
Build
1 parent 8023b6a commit a6be9c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20825,7 +20825,7 @@ const loadData = async ({ notion }) => {
2082520825
const processRows = (data) => {
2082620826
const parent = {}
2082720827
data.results.forEach((row) => {
20828-
const name = row.properties.Name.title[0].plain_text.toLowerCase()
20828+
const name = row.properties.Name?.title[0]?.plain_text?.toLowerCase()
2082920829
if (name) parent[name] = row.id
2083020830
})
2083120831
return parent

0 commit comments

Comments
 (0)