diff options
author | Unknwon <u@gogs.io> | 2016-08-16 10:19:09 -0700 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-08-16 10:19:09 -0700 |
commit | 6f9a95f83020e215ebe3942bd541da34791dd043 (patch) | |
tree | 9d95bc94e2346c808863377f79708d32decb8908 /models/action.go | |
parent | 8bf57be9ba82d7b5289c894c902b5ecaaa1142bf (diff) | |
download | gitea-6f9a95f83020e215ebe3942bd541da34791dd043.tar.gz gitea-6f9a95f83020e215ebe3942bd541da34791dd043.zip |
#2246 add HTMLURL to webhook type
- Fill Milestone and Assignee field when available in webhook payload
Diffstat (limited to 'models/action.go')
-rw-r--r-- | models/action.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/action.go b/models/action.go index f28aef9b5d..8ac599c0e1 100644 --- a/models/action.go +++ b/models/action.go @@ -520,7 +520,7 @@ func CommitRepoAction( Before: oldCommitID, After: newCommitID, CompareURL: setting.AppUrl + commit.CompareURL, - Commits: commit.ToApiPayloadCommits(repo.FullLink()), + Commits: commit.ToApiPayloadCommits(repo.HTMLURL()), Repo: apiRepo, Pusher: apiPusher, Sender: apiPusher, |