Using correct header identifiert for the Gitea Signature

This commit is contained in:
Marvin Pohl 2021-03-10 20:19:37 +01:00
parent 8e66482bec
commit 0c32c93715

View File

@ -9,7 +9,7 @@ from twisted.python import log
from dateutil.parser import parse as dateparse from dateutil.parser import parse as dateparse
_HEADER_EVENT_TYPE = 'X-Gitea-Event' _HEADER_EVENT_TYPE = 'X-Gitea-Event'
_HEADER_SIGNATURE = 'HTTP_X_GITEA_SIGNATURE' _HEADER_SIGNATURE = 'X-Gitea-Signature'
class GiteaHandler(BaseHookHandler): class GiteaHandler(BaseHookHandler):