Fix: remove uid
This commit is contained in:
parent
9e3a84eb31
commit
6c513d51a6
@ -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),
|
||||||
|
Loading…
Reference in New Issue
Block a user