mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
Shift column index by startRange instead of keyColumnIndex
This commit is contained in:
@@ -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}`,
|
||||||
|
|||||||
Reference in New Issue
Block a user