1
0
Fork 0
mirror of synced 2024-06-29 19:41:03 +12: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._rev = row._rev
}