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

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);
}
}