You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor template retrieval in create-page-from-database action
- Updated the `listTemplates` method call to use a parameters object for improved readability and maintainability.
- Added support for optional `start_cursor` parameter to handle pagination when retrieving templates.
Copy file name to clipboardExpand all lines: components/notion/actions/create-page-from-database/create-page-from-database.mjs
+7-4Lines changed: 7 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -115,12 +115,15 @@ export default {
115
115
label: "Template ID",
116
116
description: "The ID of the template to use for the page. [See the documentation](https://developers.notion.com/docs/creating-pages-from-templates) for more information.",
0 commit comments