fix(Notion Node): Regex for block id (#8860)

This commit is contained in:
Michael Kret
2024-03-13 13:57:17 +02:00
committed by GitHub
parent e78cc2d8d2
commit a1f6c570d6
5 changed files with 124 additions and 10 deletions

View File

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