Skip to content

Commit dd1e7e3

Browse files
committed
make team prop required
1 parent 82c1825 commit dd1e7e3

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

components/asana/actions/create-project/create-project.mjs

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,6 @@ export default {
1818
"workspaces",
1919
],
2020
},
21-
name: {
22-
label: "Name",
23-
description: "Name of the project. This is generally a short sentence fragment that fits on a line in the UI for maximum readability. However, it can be longer.",
24-
type: "string",
25-
},
26-
notes: {
27-
label: "Notes",
28-
description: "Free-form textual information associated with the project (ie., its description).",
29-
type: "string",
30-
},
3121
team: {
3222
propDefinition: [
3323
asana,
@@ -41,7 +31,16 @@ export default {
4131
type: "string",
4232
label: "Team",
4333
description: "The team that this project is shared with. If the workspace for your project is an organization, you must supply a team to share the project with",
44-
optional: true,
34+
},
35+
name: {
36+
label: "Name",
37+
description: "Name of the project. This is generally a short sentence fragment that fits on a line in the UI for maximum readability. However, it can be longer.",
38+
type: "string",
39+
},
40+
notes: {
41+
label: "Notes",
42+
description: "Free-form textual information associated with the project (ie., its description).",
43+
type: "string",
4544
},
4645
color: {
4746
label: "Color",

0 commit comments

Comments
 (0)