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() {
4646 const response = await fetch ( prs_url , {
4747 headers : {
4848 Accept : "application/vnd.github+json" ,
49- Authorization : TOKEN ,
49+ Authorization : `token ${ TOKEN } ` ,
5050 "X-GitHub-Api-Version" : "2022-11-28" ,
5151 } ,
5252 } ) ;
@@ -66,7 +66,7 @@ async function fetch_main_branch() {
6666 const response = await fetch ( main_branch_url , {
6767 headers : {
6868 Accept : "application/vnd.github+json" ,
69- Authorization : TOKEN ,
69+ Authorization : `token ${ TOKEN } ` ,
7070 "X-GitHub-Api-Version" : "2022-11-28" ,
7171 } ,
7272 } ) ;
@@ -89,7 +89,7 @@ function get_check_data(pr) {
8989 const response = await fetch ( checks_url , {
9090 headers : {
9191 Accept : "application/vnd.github+json" ,
92- Authorization : TOKEN ,
92+ Authorization : `token ${ TOKEN } ` ,
9393 "X-GitHub-Api-Version" : "2022-11-28" ,
9494 } ,
9595 } ) ;
You can’t perform that action at this time.
0 commit comments