Skip to content

Commit 50f4c6c

Browse files
committed
Asana "Create Project" fix
1 parent 650445a commit 50f4c6c

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ export default {
2828
asana,
2929
"teams",
3030
({ workspace }) => ({
31-
workspaces: [
32-
workspace,
33-
],
31+
workspace,
3432
}),
3533
],
3634
type: "string",

components/asana/asana.app.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ export default {
4949
label: "Teams",
5050
description: "List of teams. This field uses the team GID.",
5151
type: "string[]",
52-
async options({ workspaces }) {
53-
const teams = await this.getTeams(workspaces);
52+
async options({ workspace }) {
53+
const teams = await this.getTeams(workspace);
5454
return teams?.map((team) => ({
5555
label: team.name,
5656
value: team.gid,

components/asana/package.json

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

0 commit comments

Comments
 (0)