Skip to content

Commit

Permalink
fix(Google Sheets Node): Fix Google Sheet URL regex (#10195)
Browse files Browse the repository at this point in the history
  • Loading branch information
elsmr authored and cstuncsik committed Aug 1, 2024
1 parent 99f6c80 commit dc8e3ee
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
},
Expand Down

0 comments on commit dc8e3ee

Please sign in to comment.