Skip to content

Commit 3e11106

Browse files
committed
Fix
1 parent 8a5d027 commit 3e11106

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ for (const job of jobList.jobs) {
4949

5050
const job_id = job.id;
5151

52-
const { data: redirectUrl } = await octokit.rest.actions.downloadJobLogsForWorkflowRun({
52+
const { url: redirectUrl } = await octokit.rest.actions.downloadJobLogsForWorkflowRun({
5353
owner,
5454
repo,
5555
job_id,
5656
});
5757

58-
const response = await fetch(redirectUrl as string);
58+
const response = await fetch(redirectUrl);
5959
const result = await response.body?.getReader().read();
6060
const jobLog = result?.value as string;
6161

0 commit comments

Comments
 (0)