mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +00:00
Merge branch 'master' of github.com:gogits/gogs into dev
Conflicts: dockerfiles/README.md
This commit is contained in:
@ -99,7 +99,7 @@ func GetWebhooksByRepoId(repoId int64) (ws []*Webhook, err error) {
|
||||
|
||||
// UpdateWebhook updates information of webhook.
|
||||
func UpdateWebhook(w *Webhook) error {
|
||||
_, err := x.AllCols().Update(w)
|
||||
_, err := x.Id(w.Id).AllCols().Update(w)
|
||||
return err
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user