Skip to content

Commit

Permalink
renamed variable
Browse files Browse the repository at this point in the history
  • Loading branch information
cqb13 committed Apr 25, 2024
1 parent 07582f5 commit fd6e374
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/commands/relations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ pub fn relations_command(
}

if display {
for follower in json.as_array().unwrap() {
let username = follower["login"].as_str().unwrap_or("None");
let html_url = follower["html_url"].as_str().unwrap_or("None");
for relation in json.as_array().unwrap() {
let username = relation["login"].as_str().unwrap_or("None");
let html_url = relation["html_url"].as_str().unwrap_or("None");
println!("{:<20} - {}", username, html_url);
println!();
}
Expand Down

0 comments on commit fd6e374

Please sign in to comment.