1
0
Fork 0
mirror of synced 2024-09-30 17:18:14 +13:00

Merge pull request #3038 from Budibase/fix/data-section-issues

Add check for missing _rev
This commit is contained in:
Peter Clement 2021-10-18 10:13:40 +01:00 committed by GitHub
commit 07264da6de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -201,7 +201,7 @@ exports.inputProcessing = (
} }
} }
if (!clonedRow._id) { if (!clonedRow._id || !clonedRow._rev) {
clonedRow._id = row._id clonedRow._id = row._id
clonedRow._rev = row._rev clonedRow._rev = row._rev
} }