mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 10:28:10 +08:00
refactor(notion-page-preview): update fetchNotionPagePreview to include pageType parameter for improved API request
This commit is contained in:
@ -31,6 +31,7 @@ const NotionPagePreview = ({
|
||||
const res = await fetchNotionPagePreview({
|
||||
workspaceID: currentPage.workspace_id,
|
||||
pageID: currentPage.page_id,
|
||||
pageType: currentPage.type,
|
||||
credentialID: notionCredentialId,
|
||||
})
|
||||
setPreviewContent(res.content)
|
||||
|
||||
Reference in New Issue
Block a user