mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -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
|
||||
|
||||
// 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({
|
||||
range: `${sheet ? sheet + '!' : ''}${updateColumnName}${updateRowIndex}`,
|
||||
|
|
Loading…
Reference in a new issue