1
0
Fork 0
mirror of synced 2024-06-26 18:10:51 +12:00

Fixing bug.

This commit is contained in:
mike12345567 2021-05-28 12:05:03 +01:00
parent 4b6fd4149b
commit 28099d6454

View file

@ -174,7 +174,7 @@ exports.inputProcessing = (user = {}, table, row) => {
const field = table.schema[key]
// cleanse fields that aren't in the schema
if (!field) {
if (copiedTable.indexOf(key) === -1) {
if (dontCleanseKeys.indexOf(key) === -1) {
delete clonedRow[key]
}
continue