Don't modify internal API
This commit is contained in:
parent
5a3ecc3095
commit
9d186df018
|
@ -251,10 +251,12 @@ export async function outputProcessing<T extends Row[] | Row>(
|
||||||
)) as Row[]
|
)) as Row[]
|
||||||
}
|
}
|
||||||
// remove null properties to match internal API
|
// remove null properties to match internal API
|
||||||
for (let row of enriched) {
|
if (table.sourceId) {
|
||||||
for (let key of Object.keys(row)) {
|
for (let row of enriched) {
|
||||||
if (row[key] === null) {
|
for (let key of Object.keys(row)) {
|
||||||
delete row[key]
|
if (row[key] === null) {
|
||||||
|
delete row[key]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue