diff --git a/src/api/info.rs b/src/api/info.rs index e0961a5..2b31919 100644 --- a/src/api/info.rs +++ b/src/api/info.rs @@ -37,7 +37,7 @@ async fn groups( .iter() .cloned() .collect::>() - .difference(&token.iter().cloned().collect::>()) + .symmetric_difference(&token.iter().cloned().collect::>()) .cloned() .collect(); Ok(HttpResponse::Ok().json(AllGroups { token, packs, diff }))