From d27a9e71546ad642e60dba59489c97c94e998b31 Mon Sep 17 00:00:00 2001 From: ashish-egov <137176738+ashish-egov@users.noreply.github.com> Date: Mon, 26 Aug 2024 14:45:21 +0530 Subject: [PATCH] Update genericApis.ts (#1333) --- utilities/project-factory/src/server/api/genericApis.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/project-factory/src/server/api/genericApis.ts b/utilities/project-factory/src/server/api/genericApis.ts index 9e86432c63c..30f75694e09 100644 --- a/utilities/project-factory/src/server/api/genericApis.ts +++ b/utilities/project-factory/src/server/api/genericApis.ts @@ -211,7 +211,7 @@ const getTargetSheetDataAfterCode = async ( // Process data from sheet const processedData = sheetData.map((row: any, rowIndex: any) => { - if (rowIndex <= 1) return null; // Skip header row + if (rowIndex <= 0) return null; // Skip header row let rowData: any = { [codeColumnName]: row[targetColumnIndex] };