Skip to content

Commit 9c81a3c

Browse files
make name prop optional (#17581)
1 parent aa28fcb commit 9c81a3c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

components/notion/actions/create-page-from-database/create-page-from-database.mjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default {
88
key: "notion-create-page-from-database",
99
name: "Create Page from Database",
1010
description: "Create a page from a database. [See the documentation](https://developers.notion.com/reference/post-page)",
11-
version: "0.2.0",
11+
version: "0.2.1",
1212
type: "action",
1313
props: {
1414
notion,
@@ -23,7 +23,8 @@ export default {
2323
Name: {
2424
type: "string",
2525
label: "Name",
26-
description: "The name of the page",
26+
description: "The name of the page. Use this only if the database has a `title` property named `Name`. Otherwise, use the `Properties` prop below to set the title property.",
27+
optional: true,
2728
},
2829
properties: {
2930
type: "object",

components/notion/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/notion",
3-
"version": "0.7.0",
3+
"version": "0.7.1",
44
"description": "Pipedream Notion Components",
55
"main": "notion.app.mjs",
66
"keywords": [

0 commit comments

Comments
 (0)