fix(Google Sheets Node): Return empty response if no rows updated (#6407)

This commit is contained in:
Michael Kret 2023-06-14 18:12:20 +03:00 committed by GitHub
parent 90fd926823
commit 32fb419011
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -377,6 +377,9 @@ export async function execute(
if (nodeVersion < 4 || dataMode === 'autoMapInputData') {
return items;
} else {
if (!updateData.length) {
return [];
}
return this.helpers.returnJsonArray(mappedValues);
}
}