Skip to content

Commit

Permalink
enh: add support for columns and column_list in notion api
Browse files Browse the repository at this point in the history
  • Loading branch information
fontanierh committed Oct 6, 2023
1 parent e7a3d39 commit a15e390
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions connectors/src/connectors/notion/lib/notion_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1005,9 +1005,7 @@ async function parsePageBlock(
};

switch (block.type) {
case "column":
case "breadcrumb":
case "column_list":
case "link_to_page":
case "divider":
case "table_of_contents":
Expand Down Expand Up @@ -1224,6 +1222,8 @@ async function parsePageBlock(
block
);

case "column_list":
case "column":
case "synced_block":
return withPotentialChildren(NULL_BLOCK, block);

Expand Down

0 comments on commit a15e390

Please sign in to comment.