forked from forgejo/forgejo
#2246 add HTMLURL to webhook type
- Fill Milestone and Assignee field when available in webhook payload
This commit is contained in:
parent
8bf57be9ba
commit
6f9a95f830
16 changed files with 105 additions and 74 deletions
|
@ -368,7 +368,7 @@ func TestWebhook(ctx *context.Context) {
|
|||
{
|
||||
ID: commit.ID.String(),
|
||||
Message: commit.Message(),
|
||||
URL: ctx.Repo.Repository.FullLink() + "/commit/" + commit.ID.String(),
|
||||
URL: ctx.Repo.Repository.HTMLURL() + "/commit/" + commit.ID.String(),
|
||||
Author: &api.PayloadUser{
|
||||
Name: commit.Author.Name,
|
||||
Email: commit.Author.Email,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue