diff --git a/src/event.rs b/src/event.rs index 4f1a140..51c83cd 100644 --- a/src/event.rs +++ b/src/event.rs @@ -185,7 +185,7 @@ impl fmt::Display for IssueAction { #[derive(Debug, Deserialize)] pub struct IssueObjectAttributes { - pub id: u32, + pub iid: u32, pub title: String, pub action: IssueAction, pub url: String, @@ -406,7 +406,7 @@ impl GitlabEventExt for GitlabEvent { if object_attributes.action != IssueAction::Other { let title = format!( "Issue #{} **{}**: {}", - object_attributes.id, object_attributes.action, object_attributes.title + object_attributes.iid, object_attributes.action, object_attributes.title ); vec![markdown_link(&title, &object_attributes.url)] } else {