diff --git a/connectors/src/connectors/notion/lib/parents.ts b/connectors/src/connectors/notion/lib/parents.ts index 5b1190461a0c..491294738448 100644 --- a/connectors/src/connectors/notion/lib/parents.ts +++ b/connectors/src/connectors/notion/lib/parents.ts @@ -38,6 +38,7 @@ async function _getParents( return parents; } switch (pageOrDb.parentType) { + case null: case "workspace": return parents; case "block":