summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-25 07:11:58 -0500
committerUnknwon <u@gogs.io>2015-12-25 07:11:58 -0500
commit240fe07287564be8c31e412b68350060b4c049d4 (patch)
treeb780b50d7f57caf1543310a8f5f4501f5eb44a9c /models
parent93f03707a789a4d538c945c9838fa4ec4d3ef15c (diff)
downloadgitea-240fe07287564be8c31e412b68350060b4c049d4.tar.gz
gitea-240fe07287564be8c31e412b68350060b4c049d4.zip
#2273 URL consistency on webhook payload
Diffstat (limited to 'models')
-rw-r--r--models/repo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo.go b/models/repo.go
index 976dcabf59..e53d806576 100644
--- a/models/repo.go
+++ b/models/repo.go
@@ -402,7 +402,7 @@ func (repo *Repository) ComposePayload() *api.PayloadRepo {
cl := repo.CloneLink()
return &api.PayloadRepo{
ID: repo.ID,
- Name: repo.LowerName,
+ Name: repo.Name,
URL: repo.FullRepoLink(),
SSHURL: cl.SSH,
CloneURL: cl.HTTPS,