mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 04:04: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') {
|
||||
return items;
|
||||
} else {
|
||||
if (!updateData.length) {
|
||||
return [];
|
||||
}
|
||||
return this.helpers.returnJsonArray(mappedValues);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue