mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
fix(Google Sheets Node): Fix short sheet name interpreted as range (#6989)
Github issue / Community forum post (link here to close automatically): https://github.com/n8n-io/n8n/issues/6203
This commit is contained in:
parent
0ddfc73bee
commit
00268a019a
|
@ -44,7 +44,8 @@ export class GoogleSheet {
|
|||
const [sheet, ranges] = range.split('!');
|
||||
return `${encodeURIComponent(sheet)}!${ranges}`;
|
||||
}
|
||||
return encodeURIComponent(range);
|
||||
// Use '' so that sheet is not interpreted as range
|
||||
return encodeURIComponent(`'${range}'`);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue