mirror of
https://github.com/n8n-io/n8n.git
synced 2026-06-03 10:17:00 +02:00
fix(Google Sheets Node): Fix issue with paired items not being set correctly (#7862)
https://community.n8n.io/t/error-unknown-top-level-item-key-paireditems-item-0/33536/ Co-authored-by: Michael Kret <michael.k@radency.com>
This commit is contained in:
parent
442d4495a6
commit
5827b7ac2c
|
|
@ -266,7 +266,7 @@ export async function execute(
|
||||||
for (const [index, entry] of setData.entries()) {
|
for (const [index, entry] of setData.entries()) {
|
||||||
returnData.push({
|
returnData.push({
|
||||||
json: entry,
|
json: entry,
|
||||||
pairedItems: { item: index },
|
pairedItem: { item: index },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
|
|
|
||||||
|
|
@ -435,7 +435,7 @@ export async function execute(
|
||||||
for (const [index, entry] of mappedValues.entries()) {
|
for (const [index, entry] of mappedValues.entries()) {
|
||||||
returnData.push({
|
returnData.push({
|
||||||
json: entry,
|
json: entry,
|
||||||
pairedItems: { item: index },
|
pairedItem: { item: index },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
|
|
|
||||||
|
|
@ -414,7 +414,7 @@ export async function execute(
|
||||||
for (const [index, entry] of mappedValues.entries()) {
|
for (const [index, entry] of mappedValues.entries()) {
|
||||||
returnData.push({
|
returnData.push({
|
||||||
json: entry,
|
json: entry,
|
||||||
pairedItems: { item: index },
|
pairedItem: { item: index },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user