mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-06 05:28:03 +00:00
Bump deps
This commit is contained in:
7
vendor/github.com/google/go-github/github/messages.go
generated
vendored
7
vendor/github.com/google/go-github/github/messages.go
generated
vendored
@@ -56,6 +56,9 @@ var (
|
||||
"organization": "OrganizationEvent",
|
||||
"page_build": "PageBuildEvent",
|
||||
"ping": "PingEvent",
|
||||
"project": "ProjectEvent",
|
||||
"project_card": "ProjectCardEvent",
|
||||
"project_column": "ProjectColumnEvent",
|
||||
"public": "PublicEvent",
|
||||
"pull_request_review": "PullRequestReviewEvent",
|
||||
"pull_request_review_comment": "PullRequestReviewCommentEvent",
|
||||
@@ -162,7 +165,7 @@ func WebHookType(r *http.Request) string {
|
||||
|
||||
// ParseWebHook parses the event payload. For recognized event types, a
|
||||
// value of the corresponding struct type will be returned (as returned
|
||||
// by Event.Payload()). An error will be returned for unrecognized event
|
||||
// by Event.ParsePayload()). An error will be returned for unrecognized event
|
||||
// types.
|
||||
//
|
||||
// Example usage:
|
||||
@@ -191,5 +194,5 @@ func ParseWebHook(messageType string, payload []byte) (interface{}, error) {
|
||||
Type: &eventType,
|
||||
RawPayload: (*json.RawMessage)(&payload),
|
||||
}
|
||||
return event.Payload(), nil
|
||||
return event.ParsePayload()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user