mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-12 15:44:06 -08:00
commit fix
This commit is contained in:
parent
a46d22d510
commit
8fac0928ca
|
@ -926,7 +926,7 @@ export function getPageId(this: IExecuteFunctions, i: number) {
|
|||
pageId = page.value;
|
||||
} else if (page.value.includes('p=')) {
|
||||
// e.g https://www.notion.so/xxxxx?v=xxxxx&p=xxxxx&pm=s
|
||||
pageId = new URLSearchParams(page.value).get('p')
|
||||
pageId = new URLSearchParams(page.value).get('p') || '';
|
||||
} else {
|
||||
// e.g https://www.notion.so/page_name-xxxxx
|
||||
pageId = page.value.match(databasePageUrlValidationRegexp)?.[1] || '';
|
||||
|
|
Loading…
Reference in a new issue