We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3ade7d commit 8023b6aCopy full SHA for 8023b6a
1 file changed
src/data.js
@@ -8,7 +8,7 @@ const loadData = async ({ notion }) => {
8
const processRows = (data) => {
9
const parent = {}
10
data.results.forEach((row) => {
11
- const name = row.properties.Name.title[0].plain_text.toLowerCase()
+ const name = row.properties.Name?.title[0]?.plain_text?.toLowerCase()
12
if (name) parent[name] = row.id
13
})
14
return parent
0 commit comments