fix(github-like): correct Authorization header

This commit is contained in:
AJ ONeal
2024-06-05 19:41:24 +00:00
parent 5c12cb1fa7
commit 3263196360

View File

@@ -40,7 +40,7 @@ GitHubish.getAllReleases = async function ({
let userpass = `${username}:${token}`;
let basicAuth = btoa(userpass);
Object.assign(opts.headers, {
Authentication: `Basic ${basicAuth}`,
Authorization: `Basic ${basicAuth}`,
});
}