summaryrefslogtreecommitdiffstats
path: root/models/action.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-06 23:07:02 -0500
committerUnknwon <u@gogs.io>2015-12-06 23:07:02 -0500
commitdce2a9e7e1146293f711c0dbd9725ac7eb0b8a16 (patch)
tree899d61edc698d04ed9aaa036dbfb1ae6402ceba6 /models/action.go
parentabb02889f21b021b826e62999947c895e4d9c3a4 (diff)
downloadgitea-dce2a9e7e1146293f711c0dbd9725ac7eb0b8a16.tar.gz
gitea-dce2a9e7e1146293f711c0dbd9725ac7eb0b8a16.zip
fix wrong slack webhook payload URL
Diffstat (limited to 'models/action.go')
-rw-r--r--models/action.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/action.go b/models/action.go
index c54b180bc2..bb5860a666 100644
--- a/models/action.go
+++ b/models/action.go
@@ -479,7 +479,7 @@ func CommitRepoAction(
commits[i] = &api.PayloadCommit{
ID: cmt.Sha1,
Message: cmt.Message,
- URL: fmt.Sprintf("%s/commit/%s", repo.RepoLink(), cmt.Sha1),
+ URL: fmt.Sprintf("%s/commit/%s", repo.FullRepoLink(), cmt.Sha1),
Author: &api.PayloadAuthor{
Name: cmt.AuthorName,
Email: cmt.AuthorEmail,