Commit c62fb467 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'position-hooks'

e6a05a7b

 webhooks: skip PositionHookAttrs
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Reviewed-by: Brad King's avatarBrad King <brad.king@kitware.com>
Merge-request: !68
parents dca8a487 e6a05a7b
......@@ -471,7 +471,6 @@ pub struct DiffHookAttrs {
}
#[derive(Serialize, Deserialize, Debug, Clone)]
#[serde(deny_unknown_fields)]
// FIXME: This can apparently be a string sometimes.
// https://gitlab.com/gitlab-org/gitlab-ce/issues/21467
pub struct PositionHookAttrs {
......@@ -495,8 +494,8 @@ pub struct NoteHookAttrs {
pub note: String,
/// The type of entity the note is attached to.
pub noteable_type: NoteType,
pub original_position: Option<PositionHookAttrs>,
pub position: Option<PositionHookAttrs>,
// pub original_position: Option<PositionHookAttrs>,
// pub position: Option<PositionHookAttrs>,
/// The author of the note.
pub author_id: UserId,
/// When the note was created.
......
Markdown is supported
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