update system hooks to handle event_name fields
This commit is contained in:
@@ -176,6 +176,7 @@ type JobEventPayload struct {
|
||||
// SystemHookPayload contains the ObjectKind to match with real hook events
|
||||
type SystemHookPayload struct {
|
||||
ObjectKind string `json:"object_kind"`
|
||||
EventName string `json:"event_name"`
|
||||
}
|
||||
|
||||
// Issue contains all of the GitLab issue information
|
||||
|
||||
Reference in New Issue
Block a user