From f5e539a46b716d5f803e49b1e01fe6b7a6d2b79a Mon Sep 17 00:00:00 2001 From: Don Date: Mon, 14 Sep 2015 10:49:51 -0700 Subject: [PATCH] Fixing email in the JSON deserialization --- pkg/remote/builtin/github/github.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/remote/builtin/github/github.go b/pkg/remote/builtin/github/github.go index 5c8192a44..54b261b6a 100644 --- a/pkg/remote/builtin/github/github.go +++ b/pkg/remote/builtin/github/github.go @@ -403,13 +403,13 @@ type pushHook 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"`