refactor(Google Sheets Node): Stop reporting to Sentry sheet not found error (no-changelog) (#7617)

https://n8nio.sentry.io/issues/4264383378
This commit is contained in:
Iván Ovejero
2023-11-06 11:36:22 +01:00
committed by GitHub
parent b11c4de039
commit 52f655f3d2
5 changed files with 14 additions and 6 deletions

View File

@@ -45,7 +45,7 @@ export async function getSheetHeaderRow(
sheetWithinDocument = '0';
}
const sheetName = await sheet.spreadsheetGetSheetNameById(sheetWithinDocument);
const sheetName = await sheet.spreadsheetGetSheetNameById(this.getNode(), sheetWithinDocument);
const sheetData = await sheet.getData(`${sheetName}!1:1`, 'FORMATTED_VALUE');
if (sheetData === undefined) {