mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(Google Sheets Node): Fix "Append or Update" on an empty sheet (#9175)
Co-authored-by: Michael Kret <michael.k@radency.com>
This commit is contained in:
@@ -476,7 +476,7 @@ export class GoogleSheet {
|
||||
|
||||
const keyIndex = columnNames.indexOf(indexKey);
|
||||
|
||||
if (keyIndex === -1) {
|
||||
if (keyIndex === -1 && !upsert) {
|
||||
throw new NodeOperationError(
|
||||
this.executeFunctions.getNode(),
|
||||
`Could not find column for key "${indexKey}"`,
|
||||
|
||||
Reference in New Issue
Block a user