diff --git a/scm/driver/harness/webhook.go b/scm/driver/harness/webhook.go index fc89148e5..52ef8f61b 100644 --- a/scm/driver/harness/webhook.go +++ b/scm/driver/harness/webhook.go @@ -29,7 +29,7 @@ func (s *webhookService) Parse(req *http.Request, fn scm.SecretFunc) (scm.Webhoo } var hook scm.Webhook - switch req.Header.Get("X-Harness-Trigger") { + switch req.Header.Get("X-Gitness-Trigger") { // case "create": // hook, err = s.parseCreateHook(data) // case "delete":