From d8281c2cdf1ebbff2f219f2bdf04c9d2bfbc8d96 Mon Sep 17 00:00:00 2001 From: Vaidas Jablonskis Date: Wed, 1 Mar 2017 16:47:46 +0000 Subject: [PATCH] Github: fix webhook struct tags --- remote/github/types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/remote/github/types.go b/remote/github/types.go index 63f3a3573..046002f4a 100644 --- a/remote/github/types.go +++ b/remote/github/types.go @@ -13,13 +13,13 @@ type webhook struct { Author struct { Name string `json:"name"` - Email string `json:"name"` + Email string `json:"email"` Username string `json:"username"` } `json:"author"` Committer struct { Name string `json:"name"` - Email string `json:"name"` + Email string `json:"email"` Username string `json:"username"` } `json:"committer"` } `json:"head_commit"`