Merge pull request #1200 from donny-dont/patch-1

Fixing email in the JSON deserialization
This commit is contained in:
Brad Rydzewski 2015-09-14 10:57:57 -07:00
commit 57aecd56a4

View file

@ -403,13 +403,13 @@ type pushHook struct {
Author struct { Author struct {
Name string `json:"name"` Name string `json:"name"`
Email string `json:"name"` Email string `json:"email"`
Username string `json:"username"` Username string `json:"username"`
} `json:"author"` } `json:"author"`
Committer struct { Committer struct {
Name string `json:"name"` Name string `json:"name"`
Email string `json:"name"` Email string `json:"email"`
Username string `json:"username"` Username string `json:"username"`
} `json:"committer"` } `json:"committer"`
} `json:"head_commit"` } `json:"head_commit"`