Fix: remove uid

This commit is contained in:
Óscar M. Lage 2021-11-15 19:04:11 +01:00
parent 9e3a84eb31
commit 6c513d51a6

View File

@ -58,10 +58,9 @@ pub fn get_projects(config_file: &PathBuf) {
Ok(parsed) => { Ok(parsed) => {
let projects = parsed.json::<ProjectsResponse>().unwrap(); let projects = parsed.json::<ProjectsResponse>().unwrap();
for project in projects.data { for project in projects.data {
println!("➡️ ({id}) {name} (uid: {uid})", println!("➡️ ({id}) {name}",
id=project.id, id=project.id,
name=project.name, name=project.name);
uid=project.user_id);
} }
} }
Err(e) => println!("Error happened: {}", e), Err(e) => println!("Error happened: {}", e),