Revert Basic to basic as the word checked by gitea api is basic

Signed-off-by: cmoulliard <cmoulliard@redhat.com>
This commit is contained in:
cmoulliard
2024-01-10 10:41:38 +01:00
parent 0c211065dd
commit 71c68535ae
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ describe('gitea core', () => {
password: 'P',
};
const basicAuthentication = `Basic ${Buffer.from(
const basicAuthentication = `basic ${Buffer.from(
`${authRequest.username}:${authRequest.password}`,
).toString('base64')}`;
+1 -1
View File
@@ -120,7 +120,7 @@ export function getGiteaRequestOptions(config: GiteaIntegrationConfig): {
}
if (username) {
headers.Authorization = `Basic ${Buffer.from(
headers.Authorization = `basic ${Buffer.from(
`${username}:${password}`,
).toString('base64')}`;
} else {