fix(Google Sheets Node): Versioning fix

This commit is contained in:
Michael Kret
2022-11-18 14:33:54 +02:00
committed by GitHub
parent e1a491edce
commit 4e66672df2
3 changed files with 32 additions and 4 deletions

View File

@@ -10,14 +10,15 @@ export class GoogleSheets extends VersionedNodeType {
name: 'googleSheets',
icon: 'file:googleSheets.svg',
group: ['input', 'output'],
defaultVersion: 2,
defaultVersion: 3,
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
description: 'Read, update and write data to Google Sheets',
};
const nodeVersions: IVersionedNodeType['nodeVersions'] = {
1: new GoogleSheetsV1(baseDescription),
2: new GoogleSheetsV2(baseDescription),
2: new GoogleSheetsV1(baseDescription),
3: new GoogleSheetsV2(baseDescription),
};
super(nodeVersions, baseDescription);