mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
fix(Google Sheets Node): Return empty response if no rows updated (#6407)
This commit is contained in:
parent
90fd926823
commit
32fb419011
|
@ -377,6 +377,9 @@ export async function execute(
|
||||||
if (nodeVersion < 4 || dataMode === 'autoMapInputData') {
|
if (nodeVersion < 4 || dataMode === 'autoMapInputData') {
|
||||||
return items;
|
return items;
|
||||||
} else {
|
} else {
|
||||||
|
if (!updateData.length) {
|
||||||
|
return [];
|
||||||
|
}
|
||||||
return this.helpers.returnJsonArray(mappedValues);
|
return this.helpers.returnJsonArray(mappedValues);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue