Skip to content

Commit e2731ef

Browse files
authored
Update index.js
1 parent ae86d8a commit e2731ef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ async function run() {
4646

4747
// 1. Get the jobs that belong to this workflow
4848
const jobsRes = await fetch(
49-
`https://circleci.com/api/v2/workflow/${workflowId}/job`,
50-
{ }
49+
`https://circleci.com/api/v2/workflow/${workflowId}/job`
5150
);
5251
const jobs = await jobsRes.json();
5352
if (!jobs.items.length) {

0 commit comments

Comments
 (0)