Skip to content

Commit

Permalink
Use team slug when fetching repo permissions (#179)
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Castaño Arteaga <[email protected]>
  • Loading branch information
tegioz authored Mar 20, 2024
1 parent 0680c2b commit 622b9eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clowarden-core/src/services/github/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ impl State {
.await
.context(format!("error listing repository {} teams", &repo.name))?
.into_iter()
.map(|t| (t.name, t.permissions.into()))
.map(|t| (t.slug, t.permissions.into()))
.collect();
let teams = if teams.is_empty() { None } else { Some(teams) };

Expand Down

0 comments on commit 622b9eb

Please sign in to comment.