-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(Notion Node): Extract page url #11643
base: master
Are you sure you want to change the base?
fix(Notion Node): Extract page url #11643
Conversation
Codecov ReportAttention: Patch coverage is
📢 Thoughts on this report? Let us know! |
pageId = page.value.split('p=')[1].split('&')[0]; | ||
} else { | ||
// e.g https://www.notion.so/page_name-xxxxx | ||
pageId = page.value.match(databasePageUrlValidationRegexp)?.[1] || ''; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: ??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this how it works in rlc when extracting value, taking match from regex
Co-authored-by: Elias Meire <[email protected]>
…notion-node-database-page-param-cant-parse-pip-links
Summary
Fix for extracting page url from urls of type
https://www.notion.so/xxxxx?v=xxxxx&p=xxxxx&pm=s
Related Linear tickets, Github issues, and Community forum posts
https://linear.app/n8n/issue/NODE-1419/notion-node-database-page-param-cant-parse-pip-links