diff options
author | Unknwon <u@gogs.io> | 2015-12-25 07:11:58 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-12-25 07:11:58 -0500 |
commit | 240fe07287564be8c31e412b68350060b4c049d4 (patch) | |
tree | b780b50d7f57caf1543310a8f5f4501f5eb44a9c /models | |
parent | 93f03707a789a4d538c945c9838fa4ec4d3ef15c (diff) | |
download | gitea-240fe07287564be8c31e412b68350060b4c049d4.tar.gz gitea-240fe07287564be8c31e412b68350060b4c049d4.zip |
#2273 URL consistency on webhook payload
Diffstat (limited to 'models')
-rw-r--r-- | models/repo.go | 2 |
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, |