From e214aeb4d6947d7a771933b751cd7f3abfd5a27a Mon Sep 17 00:00:00 2001 From: Michael Peick Date: Sat, 26 Oct 2019 13:32:32 +0200 Subject: [PATCH] Rename http header "Git-Sync-Hash" into "Gitsync-Hash". --- cmd/git-sync/webhook.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/git-sync/webhook.go b/cmd/git-sync/webhook.go index e3d8a2c..516be14 100644 --- a/cmd/git-sync/webhook.go +++ b/cmd/git-sync/webhook.go @@ -28,7 +28,7 @@ type webhookRepoInfo struct { func (w *Webhook) Do(info webhookRepoInfo) error { req, err := http.NewRequest(w.Method, w.URL, nil) - req.Header.Set("Git-Sync-Hash", info.Hash) + req.Header.Set("Gitsync-Hash", info.Hash) if err != nil { return err }