Add committer information to API and Webhooks. Also fixes #3271 (#3414)

This commit is contained in:
lstahlman 2016-08-09 22:01:57 -07:00 committed by 无闻
parent c5d4a9e046
commit 89f71b44f7
4 changed files with 48 additions and 13 deletions

View file

@ -359,6 +359,10 @@ func TestWebhook(ctx *context.Context) {
Name: ctx.Repo.Commit.Author.Name,
Email: ctx.Repo.Commit.Author.Email,
},
Committer: &api.PayloadCommitter{
Name: ctx.Repo.Commit.Committer.Name,
Email: ctx.Repo.Commit.Committer.Email,
},
},
},
Repo: ctx.Repo.Repository.ComposePayload(),