File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -35863,8 +35863,7 @@ async function run() {
3586335863
3586435864 // 1. Get the jobs that belong to this workflow
3586535865 const jobsRes = await fetch(
35866- `https://circleci.com/api/v2/workflow/${workflowId}/job`,
35867- { headers: { 'Circle-Token': apiToken } }
35866+ `https://circleci.com/api/v2/workflow/${workflowId}/job`
3586835867 );
3586935868 const jobs = await jobsRes.json();
3587035869 if (!jobs.items.length) {
Original file line number Diff line number Diff 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- { headers : { 'Circle-Token' : apiToken } }
49+ `https://circleci.com/api/v2/workflow/${ workflowId } /job`
5150 ) ;
5251 const jobs = await jobsRes . json ( ) ;
5352 if ( ! jobs . items . length ) {
You can’t perform that action at this time.
0 commit comments