mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 20:01:02 +00:00
Merge pull request #1200 from donny-dont/patch-1
Fixing email in the JSON deserialization
This commit is contained in:
commit
57aecd56a4
1 changed files with 2 additions and 2 deletions
|
@ -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"`
|
||||||
|
|
Loading…
Reference in a new issue