🔀 Merge branch '109_column_shift' of https://github.com/airmoi/n8n into airmoi-109_column_shift

This commit is contained in:
Jan Oberhauser 2019-11-07 21:44:42 +01:00
commit a86caaf3e7

View file

@ -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}`,