summaryrefslogtreecommitdiffstats
path: root/routers/repo
diff options
context:
space:
mode:
authorThomas Boerger <thomas@webhippie.de>2016-11-07 16:31:17 +0100
committerGitHub <noreply@github.com>2016-11-07 16:31:17 +0100
commit5d430c9e68f7e50e6d1727c43518e84579fd6a4f (patch)
tree8b4c8058aa6d24f7e1bf5637327bfee229cc85f7 /routers/repo
parentee963f67c1eb023b6ed70a2c0f14c6d3c927b8ac (diff)
parent4c6c16f358a67d31b1cde8642d4175a336fdcbf0 (diff)
downloadgitea-5d430c9e68f7e50e6d1727c43518e84579fd6a4f.tar.gz
gitea-5d430c9e68f7e50e6d1727c43518e84579fd6a4f.zip
Merge pull request #108 from go-gitea/go-sdk
Replaced gogits go-gogs-client with go-sdk
Diffstat (limited to 'routers/repo')
-rw-r--r--routers/repo/webhook.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/repo/webhook.go b/routers/repo/webhook.go
index 77da3ea480..3cb6d1d27e 100644
--- a/routers/repo/webhook.go
+++ b/routers/repo/webhook.go
@@ -13,7 +13,7 @@ import (
"github.com/Unknwon/com"
"github.com/go-gitea/git"
- api "github.com/gogits/go-gogs-client"
+ api "github.com/go-gitea/go-sdk/gitea"
"github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/auth"
@@ -32,7 +32,7 @@ func Webhooks(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("repo.settings.hooks")
ctx.Data["PageIsSettingsHooks"] = true
ctx.Data["BaseLink"] = ctx.Repo.RepoLink
- ctx.Data["Description"] = ctx.Tr("repo.settings.hooks_desc", "https://github.com/gogits/go-gogs-client/wiki/Repositories-Webhooks")
+ ctx.Data["Description"] = ctx.Tr("repo.settings.hooks_desc", "https://godoc.org/github.com/go-gitea/go-sdk/gitea")
ws, err := models.GetWebhooksByRepoID(ctx.Repo.Repository.ID)
if err != nil {