diff options
author | Unknwon <u@gogs.io> | 2015-11-18 21:21:47 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-18 21:21:47 -0500 |
commit | f455125d4de8c788143a24edefb8c6b2cef0f524 (patch) | |
tree | b6a258d73a3e25362fd0005b2954ebe84869fede /models/webhook.go | |
parent | df339ad8b0c4f8858a53a4890ded97a1e3208b13 (diff) | |
download | gitea-f455125d4de8c788143a24edefb8c6b2cef0f524.tar.gz gitea-f455125d4de8c788143a24edefb8c6b2cef0f524.zip |
fix #878
Diffstat (limited to 'models/webhook.go')
-rw-r--r-- | models/webhook.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/webhook.go b/models/webhook.go index b4d7dc9c71..cbc874a9ce 100644 --- a/models/webhook.go +++ b/models/webhook.go @@ -178,8 +178,8 @@ func GetActiveWebhooksByRepoID(repoID int64) (ws []*Webhook, err error) { return ws, err } -// GetWebhooksByRepoId returns all webhooks of repository. -func GetWebhooksByRepoId(repoID int64) (ws []*Webhook, err error) { +// GetWebhooksByRepoID returns all webhooks of repository. +func GetWebhooksByRepoID(repoID int64) (ws []*Webhook, err error) { err = x.Find(&ws, &Webhook{RepoID: repoID}) return ws, err } |