Skip to content

Commit

Permalink
Update genericApis.ts (#1333)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashish-egov authored Aug 26, 2024
1 parent 5fa0e76 commit d27a9e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utilities/project-factory/src/server/api/genericApis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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] };

Expand Down

0 comments on commit d27a9e7

Please sign in to comment.