mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
Shift column index by startRange instead of keyColumnIndex
This commit is contained in:
parent
b013e09f4a
commit
821556e85a
|
@ -312,7 +312,7 @@ export class GoogleSheet {
|
||||||
// Property exists so add it to the data to update
|
// Property exists so add it to the data to update
|
||||||
|
|
||||||
// Get the column name in which the property data can be found
|
// Get the column name in which the property data can be found
|
||||||
updateColumnName = String.fromCharCode(characterCode + keyColumnOrder.indexOf(propertyName));
|
updateColumnName = String.fromCharCode(rangeStart.toUpperCase().charCodeAt(0) + keyColumnOrder.indexOf(propertyName));
|
||||||
|
|
||||||
updateData.push({
|
updateData.push({
|
||||||
range: `${sheet ? sheet + '!' : ''}${updateColumnName}${updateRowIndex}`,
|
range: `${sheet ? sheet + '!' : ''}${updateColumnName}${updateRowIndex}`,
|
||||||
|
|
Loading…
Reference in a new issue