summaryrefslogtreecommitdiffstats
path: root/routers/repo
diff options
context:
space:
mode:
authorSandro Santilli <strk@kbt.io>2016-11-11 10:39:44 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2016-11-11 17:39:44 +0800
commita1c5f02444b5124a8a96a57769e00728e828c7fc (patch)
tree47282e3a97e11b4eeaeadb0feefd74d6a0af1b0f /routers/repo
parent96c9fef35f919fc2809cff989e215955402fa3f7 (diff)
downloadgitea-a1c5f02444b5124a8a96a57769e00728e828c7fc.tar.gz
gitea-a1c5f02444b5124a8a96a57769e00728e828c7fc.zip
Fix import path of go-sdk (#141)
From code.gitea.io/go-sdk/gitea To code.gitea.io/sdk/gitea
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 2f798260e2..3f292397b9 100644
--- a/routers/repo/webhook.go
+++ b/routers/repo/webhook.go
@@ -13,7 +13,7 @@ import (
"github.com/Unknwon/com"
"code.gitea.io/git"
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/models"
"code.gitea.io/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://godoc.org/code.gitea.io/go-sdk/gitea")
+ ctx.Data["Description"] = ctx.Tr("repo.settings.hooks_desc", "https://godoc.org/code.gitea.io/sdk/gitea")
ws, err := models.GetWebhooksByRepoID(ctx.Repo.Repository.ID)
if err != nil {