File tree Expand file tree Collapse file tree 5 files changed +7
-17
lines changed Expand file tree Collapse file tree 5 files changed +7
-17
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ export default {
4949 }
5050 ` ;
5151
52- const response = await this . app . createLead ( {
52+ const response = await this . app . post ( {
5353 $,
5454 data : {
5555 query,
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export default {
2929 }
3030 }
3131 }` ;
32- const response = await this . app . getDealsByDate ( {
32+ const response = await this . app . post ( {
3333 $,
3434 data : {
3535 query,
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ export default {
88 type : "action" ,
99 props : {
1010 app,
11-
1211 } ,
1312 async run ( { $ } ) {
1413 const query = `{
@@ -25,7 +24,7 @@ export default {
2524 }
2625 }
2726 }` ;
28- const response = await this . app . getLeads ( {
27+ const response = await this . app . post ( {
2928 $,
3029 data : {
3130 query,
Original file line number Diff line number Diff line change 1111 "author" :
" Pipedream <[email protected] > (https://pipedream.com/)" ,
1212 "publishConfig" : {
1313 "access" : " public"
14+ },
15+ "dependencies" : {
16+ "@pipedream/platform" : " ^3.0.3"
1417 }
1518}
Original file line number Diff line number Diff line change @@ -44,19 +44,7 @@ export default {
4444 } ,
4545 } ) ;
4646 } ,
47- async createLead ( args = { } ) {
48- return this . _makeRequest ( {
49- method : "POST" ,
50- ...args ,
51- } ) ;
52- } ,
53- async getDealsByDate ( args = { } ) {
54- return this . _makeRequest ( {
55- method : "POST" ,
56- ...args ,
57- } ) ;
58- } ,
59- async getLeads ( args = { } ) {
47+ async post ( args = { } ) {
6048 return this . _makeRequest ( {
6149 method : "POST" ,
6250 ...args ,
You can’t perform that action at this time.
0 commit comments