Skip to content

Commit f604353

Browse files
severoCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 309cc7c commit f604353

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/sources/gitHubSource.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ async function fetchFilesList(url: DirectoryUrl, options?: { requestInit?: Reque
6262
'Accept': 'application/vnd.github+json',
6363
}
6464
if (options?.accessToken) {
65-
headers.Authorization = `token ${options.accessToken}`
65+
headers.Authorization = `Bearer ${options.accessToken}`
6666
}
6767
const response = await fetch(apiURL, {
6868
method: 'GET',

0 commit comments

Comments
 (0)