Skip to content

Commit 4164ef9

Browse files
authored
fix: update GitHub API authorization header
1 parent 23bb962 commit 4164ef9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/documents.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ async function fetchApiContentsRemote(
578578
const fetchOptions: RequestInit = {
579579
headers: {
580580
'X-GitHub-Api-Version': '2022-11-28',
581-
Authorization: `Bearer ${env.GITHUB_AUTH_TOKEN}`,
581+
Authorization: `token ${env.GITHUB_AUTH_TOKEN}`,
582582
},
583583
}
584584
const res = await fetch(

0 commit comments

Comments
 (0)