README says:
const notion = new NotionAPI({
activeUser: process.env.NOTION_ACTIVE_USER,
authToken: process.env.NOTION_TOKEN_V2
})
However, it didn't work resulting in an error like 'Error: Notion page not found xxx...'"
Instead, the following worked fine:
const notion = new NotionAPI({
authToken: process.env.NOTION_TOKEN_V2
})
I'll look into it some more.
Thank you.