mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-12 08:23:48 +02:00
Merge pull request #1200 from donny-dont/patch-1
Fixing email in the JSON deserialization
This commit is contained in:
commit
57aecd56a4
@ -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 New Issue
Block a user