Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit c39b0d3

Browse files
Fix issue where validation message is not seen in error excel
1 parent 0ad4178 commit c39b0d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/common/helper.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ async function uploadFailedRecord (records, objectKey, header) {
8888
// new workbook
8989
const wb = XLSX.utils.book_new()
9090
const wsData = []
91+
header.push('validationMessage')
9192
wsData.push(header)
9293
wsData.push(...(records.map(record => _.at(record, header))))
9394
const ws = XLSX.utils.aoa_to_sheet(wsData)

0 commit comments

Comments
 (0)