Rename http header "Git-Sync-Hash" into "Gitsync-Hash".
This commit is contained in:
parent
1eb223e2cc
commit
e214aeb4d6
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue