Skip to content

Commit

Permalink
fix(webhooks): fixed params on create Github Hook
Browse files Browse the repository at this point in the history
  • Loading branch information
porsh authored and jkuri committed Jun 16, 2021
1 parent da8cefb commit fdfc4ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/store/repo/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ func (s repositoryStore) CreateHook(id, userID uint, data gitscm.HookForm) error
}

target := fmt.Sprintf("%s/webhooks", repo.Provider.Host)
_, err = gitscm.CreateHook(repo.FullName, target, repo.Provider.Name, repo.Provider.Secret, data)
_, err = gitscm.CreateHook(repo.FullName, target, repo.Provider.Secret, repo.Provider.Name, data)
return err
}

Expand Down

0 comments on commit fdfc4ff

Please sign in to comment.