From 0c32c93715c64ae3342ca4e8a3b9ac6425a3d651 Mon Sep 17 00:00:00 2001 From: Marvin Pohl Date: Wed, 10 Mar 2021 20:19:37 +0100 Subject: [PATCH] Using correct header identifiert for the Gitea Signature --- buildbot_gitea/webhook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildbot_gitea/webhook.py b/buildbot_gitea/webhook.py index 0ba9d66..d44ac89 100644 --- a/buildbot_gitea/webhook.py +++ b/buildbot_gitea/webhook.py @@ -9,7 +9,7 @@ from twisted.python import log from dateutil.parser import parse as dateparse _HEADER_EVENT_TYPE = 'X-Gitea-Event' -_HEADER_SIGNATURE = 'HTTP_X_GITEA_SIGNATURE' +_HEADER_SIGNATURE = 'X-Gitea-Signature' class GiteaHandler(BaseHookHandler):