From 01ee72f42fb576e8a253908bc32f7d565ef64ce9 Mon Sep 17 00:00:00 2001 From: Frane Bandov Date: Thu, 26 Mar 2020 16:30:17 +0100 Subject: [PATCH] Fix for issue #406 --- packages/nodes-base/nodes/Google/GoogleSheet.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nodes-base/nodes/Google/GoogleSheet.ts b/packages/nodes-base/nodes/Google/GoogleSheet.ts index 1bd70d51db..2d31c884d2 100644 --- a/packages/nodes-base/nodes/Google/GoogleSheet.ts +++ b/packages/nodes-base/nodes/Google/GoogleSheet.ts @@ -444,7 +444,7 @@ export class GoogleSheet { // Loop over all the items and find the one with the matching value for (rowIndex = dataStartRowIndex; rowIndex < inputData.length; rowIndex++) { - if (inputData[rowIndex][returnColumnIndex].toString() === lookupValue.lookupValue.toString()) { + if (inputData[rowIndex][returnColumnIndex]?.toString() === lookupValue.lookupValue.toString()) { returnData.push(inputData[rowIndex]); if (returnAllMatches !== true) {