From 6f9a95f83020e215ebe3942bd541da34791dd043 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Tue, 16 Aug 2016 10:19:09 -0700 Subject: #2246 add HTMLURL to webhook type - Fill Milestone and Assignee field when available in webhook payload --- models/action.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models/action.go') 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, -- cgit v1.2.3