Using correct header identifiert for the Gitea Signature
This commit is contained in:
parent
8e66482bec
commit
0c32c93715
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user