.
This commit is contained in:
parent
4aa44dbf83
commit
797e6ea8d6
@ -1,7 +1,7 @@
|
||||
package common
|
||||
|
||||
type ForkWebhookEvent struct {
|
||||
Forkee Repository
|
||||
Repository
|
||||
Sender User
|
||||
Forkee *Repository
|
||||
Repository *Repository
|
||||
Sender *User
|
||||
}
|
||||
|
@ -8,7 +8,7 @@ import (
|
||||
|
||||
type Head struct {
|
||||
Ref string
|
||||
Repo Repository
|
||||
Repo *Repository
|
||||
Sha string
|
||||
}
|
||||
|
||||
@ -40,8 +40,8 @@ type PullRequestWebhookEvent struct {
|
||||
Action string
|
||||
Number int
|
||||
|
||||
Pull_Request PullRequest
|
||||
Repository Repository
|
||||
Pull_Request *PullRequest
|
||||
Repository *Repository
|
||||
Requested_reviewer *User
|
||||
Sender User
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ type PushRequest struct {
|
||||
Pusher User
|
||||
Sender User
|
||||
|
||||
Repository Repository
|
||||
Repository *Repository
|
||||
}
|
||||
|
||||
func (h *RequestHandler) parsePushRequest(data io.Reader) *PushRequest {
|
||||
|
@ -5,6 +5,6 @@ type WikiWebhookEvent struct {
|
||||
Page string
|
||||
Comment string
|
||||
|
||||
Repository Repository
|
||||
Repository *Repository
|
||||
Sender User
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user