Remove needless table copy.

This commit is contained in:
Sam Rose 2024-09-26 15:48:44 +01:00
parent 25a2e02a90
commit 26a27ff70f
No known key found for this signature in database
1 changed files with 1 additions and 4 deletions

View File

@ -34,10 +34,7 @@ export async function save(
inputs._id = db.generateRowID(inputs.tableId)
}
// need to copy the table so it can be differenced on way out
const sourceClone = cloneDeep(source)
let row = await inputProcessing(userId, sourceClone, inputs)
let row = await inputProcessing(userId, source, inputs)
const validateResult = await sdk.rows.utils.validate({
row,