mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-10 15:09:50 +02:00
fix #878
This commit is contained in:
1 parent
df339ad8b0
commit
f455125d4d
11 files changed
+220
-39
No files matched your search
+2
-2
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user