Skip to content

Commit

Permalink
Merge pull request #15 from NSWC-Crane/revert-14-CHRIS_DEV
Browse files Browse the repository at this point in the history
Revert commit for further testing and review
  • Loading branch information
crodriguez6497 authored Jan 5, 2024
2 parents 5c06bbc + a98fa08 commit 8893c05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Api/Controllers/poamUpload.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ exports.uploadPoamFile = async (req, res) => {

try {
const rows = await readXlsxFile(req.file.buffer);
const headers = rows[6]; // Headers from row 7
const dataRows = rows.slice(7); // Data starts from row 8
const headers = rows[5]; // Headers from row 6
const dataRows = rows.slice(6); // Data starts from row 7

const poamData = dataRows.map(row => {
const poamEntry = {};
Expand Down

0 comments on commit 8893c05

Please sign in to comment.