Skip to content
Permalink
Browse files

repo: fix stale webhook documentation link (#5883)

  • Loading branch information
kevingentile authored and unknwon committed Dec 9, 2019
1 parent 6b9b42b commit 1b929e3afce638b808c30074ec0461c72e636abc
Showing with 2 additions and 2 deletions.
  1. +2 −2 internal/route/repo/webhook.go
@@ -8,7 +8,7 @@ import (
"fmt"
"strings"

"github.com/json-iterator/go"
jsoniter "github.com/json-iterator/go"
"github.com/unknwon/com"

git "github.com/gogs/git-module"
@@ -31,7 +31,7 @@ func Webhooks(c *context.Context) {
c.Data["Title"] = c.Tr("repo.settings.hooks")
c.Data["PageIsSettingsHooks"] = true
c.Data["BaseLink"] = c.Repo.RepoLink
c.Data["Description"] = c.Tr("repo.settings.hooks_desc", "https://github.com/gogs/go-gogs-client/wiki/Repositories-Webhooks")
c.Data["Description"] = c.Tr("repo.settings.hooks_desc", "https://github.com/gogs/docs-api/blob/master/Repositories/Webhooks.md")
c.Data["Types"] = setting.Webhook.Types

ws, err := db.GetWebhooksByRepoID(c.Repo.Repository.ID)

0 comments on commit 1b929e3

Please sign in to comment.
You can’t perform that action at this time.