forked from go-playground/webhooks
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: gitlab merge request event assignee payload
- gitlab updated their MR payload which adds a parent field for the list of assignees - this fix update the Assignee struct to add the missing `Email` and `ID` field - adds an array of assignees as part of the MR event payload Closes go-playground#101
- Loading branch information
1 parent
59fb748
commit bc6eb41
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -136,5 +136,14 @@ | |
"group_id": 41 | ||
}] | ||
} | ||
} | ||
}, | ||
"assignees": [ | ||
{ | ||
"id": 6, | ||
"name": "User1", | ||
"username": "user1", | ||
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=40\u0026d=identicon", | ||
"email": "[email protected]" | ||
} | ||
] | ||
} |