Skip to content

Commit 1c42061

Browse files
committed
- lint
1 parent 8e7ddba commit 1c42061

File tree

4 files changed

+36
-12
lines changed

4 files changed

+36
-12
lines changed

components/gistly/actions/fetch-transcript/fetch-transcript.mjs

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff 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
};

components/gistly/actions/get-transcript/get-transcript.mjs

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff 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
};

components/gistly/gistly.app.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
});

components/gistly/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
"dependencies": {
1616
"@pipedream/platform": "^1.5.1"
1717
}
18-
}
18+
}

0 commit comments

Comments
 (0)