Fix issue #984 (#985)

This commit is contained in:
Ricardo Espinoza
2020-09-23 16:20:44 -04:00
committed by GitHub
parent bb33333eba
commit 3ed3ee779b

View File

@@ -611,7 +611,10 @@ export class GoogleSheets implements INodeType {
let range = '';
if (operation !== 'delete') {
range = this.getNodeParameter('range', 0) as string;
range = encodeURIComponent(range);
if (range.includes('!')) {
const [sheet, ranges] = range.split('!');
range = `${encodeURIComponent(sheet)}!${ranges}`;
}
}
const options = this.getNodeParameter('options', 0, {}) as IDataObject;