Fixing bug.
This commit is contained in:
parent
4b6fd4149b
commit
28099d6454
|
@ -174,7 +174,7 @@ exports.inputProcessing = (user = {}, table, row) => {
|
||||||
const field = table.schema[key]
|
const field = table.schema[key]
|
||||||
// cleanse fields that aren't in the schema
|
// cleanse fields that aren't in the schema
|
||||||
if (!field) {
|
if (!field) {
|
||||||
if (copiedTable.indexOf(key) === -1) {
|
if (dontCleanseKeys.indexOf(key) === -1) {
|
||||||
delete clonedRow[key]
|
delete clonedRow[key]
|
||||||
}
|
}
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue