File tree Expand file tree Collapse file tree 4 files changed +36
-12
lines changed Expand file tree Collapse file tree 4 files changed +36
-12
lines changed Original file line number Diff line number Diff line change @@ -10,18 +10,30 @@ export default {
1010 props : {
1111 app,
1212 videoUrl : {
13- propDefinition : [ app , "videoUrl" ] ,
13+ propDefinition : [
14+ app ,
15+ "videoUrl" ,
16+ ] ,
1417 optional : true ,
1518 } ,
1619 videoId : {
17- propDefinition : [ app , "videoId" ] ,
20+ propDefinition : [
21+ app ,
22+ "videoId" ,
23+ ] ,
1824 optional : true ,
1925 } ,
2026 text : {
21- propDefinition : [ app , "text" ] ,
27+ propDefinition : [
28+ app ,
29+ "text" ,
30+ ] ,
2231 } ,
2332 chunkSize : {
24- propDefinition : [ app , "chunkSize" ] ,
33+ propDefinition : [
34+ app ,
35+ "chunkSize" ,
36+ ] ,
2537 } ,
2638 } ,
2739 async run ( { $ } ) {
@@ -37,7 +49,7 @@ export default {
3749 params,
3850 } ) ;
3951
40- $ . export ( "$summary" , ` Successfully fetched the transcript for the video.` ) ;
52+ $ . export ( "$summary" , " Successfully fetched the transcript for the video." ) ;
4153 return response ;
4254 } ,
4355} ;
Original file line number Diff line number Diff line change @@ -10,18 +10,30 @@ export default {
1010 props : {
1111 app,
1212 videoUrl : {
13- propDefinition : [ app , "videoUrl" ] ,
13+ propDefinition : [
14+ app ,
15+ "videoUrl" ,
16+ ] ,
1417 optional : true ,
1518 } ,
1619 videoId : {
17- propDefinition : [ app , "videoId" ] ,
20+ propDefinition : [
21+ app ,
22+ "videoId" ,
23+ ] ,
1824 optional : true ,
1925 } ,
2026 text : {
21- propDefinition : [ app , "text" ] ,
27+ propDefinition : [
28+ app ,
29+ "text" ,
30+ ] ,
2231 } ,
2332 chunkSize : {
24- propDefinition : [ app , "chunkSize" ] ,
33+ propDefinition : [
34+ app ,
35+ "chunkSize" ,
36+ ] ,
2537 } ,
2638 } ,
2739 async run ( { $ } ) {
@@ -37,7 +49,7 @@ export default {
3749 params,
3850 } ) ;
3951
40- $ . export ( "$summary" , ` Successfully fetched the transcript for the video.` ) ;
52+ $ . export ( "$summary" , " Successfully fetched the transcript for the video." ) ;
4153 return response ;
4254 } ,
4355} ;
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ export default {
3939 url : `${ this . _apiUrl ( ) } ${ path } ` ,
4040 ...args ,
4141 headers : {
42- Authorization : `Bearer ${ this . _apiKey ( ) } ` ,
42+ "x-api-key" : this . _apiKey ( ) ,
4343 "Content-Type" : "application/json" ,
4444 } ,
4545 } ) ;
Original file line number Diff line number Diff line change 1515 "dependencies" : {
1616 "@pipedream/platform" : " ^1.5.1"
1717 }
18- }
18+ }
You can’t perform that action at this time.
0 commit comments