From e300ddacd903fb35713c614c50f74cfced627298 Mon Sep 17 00:00:00 2001 From: cmoulliard Date: Wed, 10 Jan 2024 10:28:04 +0100 Subject: [PATCH] Revert change Token to token as gitea checks token word only. "https://docs.gitea.com/next/development/api-usage\#authentication" Signed-off-by: cmoulliard --- packages/integration/src/gitea/core.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/integration/src/gitea/core.ts b/packages/integration/src/gitea/core.ts index f188613d2a..6d11a4ffde 100644 --- a/packages/integration/src/gitea/core.ts +++ b/packages/integration/src/gitea/core.ts @@ -124,7 +124,7 @@ export function getGiteaRequestOptions(config: GiteaIntegrationConfig): { `${username}:${password}`, ).toString('base64')}`; } else { - headers.Authorization = `Token ${password}`; + headers.Authorization = `token ${password}`; } return {