fix(Google Sheets Node): Fix Google Sheet URL regex (#10195)

This commit is contained in:
Elias Meire authored and GitHub committed 2024-07-26 11:50:58 +02:00
1 parent 82eba9fc5f
commit e6fd996973
1 file changed
+2 -2
@@ -157,14 +157,14 @@ export const descriptions: INodeProperties[] = [
extractValue: {
type: 'regex',
regex:
'https:\\/\\/docs\\.google\\.com/spreadsheets\\/d\\/[0-9a-zA-Z\\-_]+\\/edit\\#gid=([0-9]+)',
'https:\\/\\/docs\\.google.com\\/spreadsheets\\/d\\/[0-9a-zA-Z\\-_]+.*\\#gid=([0-9]+)',
},
validation: [
{
type: 'regex',
properties: {
regex:
'https:\\/\\/docs\\.google\\.com/spreadsheets\\/d\\/[0-9a-zA-Z\\-_]+\\/edit\\#gid=([0-9]+)',
'https:\\/\\/docs\\.google.com\\/spreadsheets\\/d\\/[0-9a-zA-Z\\-_]+.*\\#gid=([0-9]+)',
errorMessage: 'Not a valid Sheet URL',
},
},