feat(Notion Node): Option to simplify output in getChildBlocks operation (#7791)

Github issue / Community forum post (link here to close automatically):

---------

Co-authored-by: Marcus <marcus@n8n.io>
This commit is contained in:
Michael Kret
2023-11-27 15:02:57 +02:00
committed by GitHub
parent 137e23853f
commit d667bca658
5 changed files with 72 additions and 2 deletions

View File

@@ -13,12 +13,13 @@ export class Notion extends VersionedNodeType {
group: ['output'],
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
description: 'Consume Notion API',
defaultVersion: 2,
defaultVersion: 2.1,
};
const nodeVersions: IVersionedNodeType['nodeVersions'] = {
1: new NotionV1(baseDescription),
2: new NotionV2(baseDescription),
2.1: new NotionV2(baseDescription),
};
super(nodeVersions, baseDescription);