Rename http header "Git-Sync-Hash" into "Gitsync-Hash".

This commit is contained in:
Michael Peick 2019-10-26 13:32:32 +02:00
parent 1eb223e2cc
commit e214aeb4d6
1 changed files with 1 additions and 1 deletions

View File

@ -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
}