File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ async function fetch_pull_requests() {
46
46
const response = await fetch ( prs_url , {
47
47
headers : {
48
48
Accept : "application/vnd.github+json" ,
49
- Authorization : TOKEN ,
49
+ Authorization : `token ${ TOKEN } ` ,
50
50
"X-GitHub-Api-Version" : "2022-11-28" ,
51
51
} ,
52
52
} ) ;
@@ -66,7 +66,7 @@ async function fetch_main_branch() {
66
66
const response = await fetch ( main_branch_url , {
67
67
headers : {
68
68
Accept : "application/vnd.github+json" ,
69
- Authorization : TOKEN ,
69
+ Authorization : `token ${ TOKEN } ` ,
70
70
"X-GitHub-Api-Version" : "2022-11-28" ,
71
71
} ,
72
72
} ) ;
@@ -89,7 +89,7 @@ function get_check_data(pr) {
89
89
const response = await fetch ( checks_url , {
90
90
headers : {
91
91
Accept : "application/vnd.github+json" ,
92
- Authorization : TOKEN ,
92
+ Authorization : `token ${ TOKEN } ` ,
93
93
"X-GitHub-Api-Version" : "2022-11-28" ,
94
94
} ,
95
95
} ) ;
You can’t perform that action at this time.
0 commit comments