Commit f3d5b221 authored by Brad King's avatar Brad King 💬
Browse files

webhooks: update for 9.4

Since gitlab-ce commit 85cdde8d33 (Migration - Remove position field
from issues and merge requests, 2017-06-09) the webhook object
attributes for issue and merge request events no longer have a
`position` field.
parent 42ceea19
......@@ -232,7 +232,6 @@ pub struct IssueHookAttrs {
/// The ID of the user which last updated the issue.
pub updated_by_id: Option<UserId>,
pub moved_to_id: Option<Value>, // ???
pub position: u64,
/// The branch name for the issue.
pub branch_name: Option<String>,
/// The description of the issue.
......@@ -378,7 +377,6 @@ pub struct MergeRequestHookAttrs {
pub merge_user_id: Option<UserId>,
/// Whether the merge request will be merged once all builds succeed or not.
pub merge_when_pipeline_succeeds: bool,
pub position: u64, // ???
// st_commits
// st_diffs
/// The milestone of the merge request.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment