diff --git a/src/gh_comments.rs b/src/gh_comments.rs index c9bba9e3..e9cbf7ec 100644 --- a/src/gh_comments.rs +++ b/src/gh_comments.rs @@ -925,6 +925,7 @@ fn write_reaction_groups_as_html( .reactors .nodes .iter() + .flatten() .filter_map(|r| r.login.as_deref()) .collect::>(); let left = total_count.saturating_sub(users.len() as u32); diff --git a/src/github/queries/issue_with_comments.rs b/src/github/queries/issue_with_comments.rs index 3a140e99..a360f64a 100644 --- a/src/github/queries/issue_with_comments.rs +++ b/src/github/queries/issue_with_comments.rs @@ -159,7 +159,7 @@ pub struct GitHubGraphQlReactionGroup { pub struct GitHubGraphQlReactionGroupReactors { #[serde(rename = "totalCount")] pub total_count: u32, - pub nodes: Vec, + pub nodes: Vec>, } #[derive(Debug, serde::Deserialize, serde::Serialize)]