File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ export default {
225225 description : "List of task fields that will emit events when updated. This field uses the field code." ,
226226 type : "string[]" ,
227227 async options ( { project } ) {
228- const tasks = await this . getTasks ( {
228+ const { data : tasks } = await this . getTasks ( {
229229 params : {
230230 project,
231231 limit : 1 ,
@@ -234,7 +234,9 @@ export default {
234234 if ( ! tasks || tasks . length === 0 ) {
235235 return [ ] ;
236236 }
237- const task = await this . getTask ( tasks [ 0 ] . gid ) ;
237+ const { data : task } = await this . getTask ( {
238+ taskId : tasks [ 0 ] . gid ,
239+ } ) ;
238240 return Object . keys ( task ) ;
239241 } ,
240242 } ,
Original file line number Diff line number Diff line change 11{
22 "name" : " @pipedream/asana" ,
3- "version" : " 0.7.2 " ,
3+ "version" : " 0.7.3 " ,
44 "description" : " Pipedream Asana Components" ,
55 "main" : " asana.app.mjs" ,
66 "keywords" : [
You can’t perform that action at this time.
0 commit comments