Skip to content

Commit

Permalink
Remove unnecessary debug printlns again
Browse files Browse the repository at this point in the history
  • Loading branch information
fschutt committed Nov 24, 2022
1 parent 813d526 commit 250c0fe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/registry/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ pub fn get_username(#[cfg(test)] test_name: &str) -> anyhow::Result<Option<Strin

pub fn get_username_registry_token(registry: &str, token: &str) -> anyhow::Result<Option<String>> {
let q = WhoAmIQuery::build_query(who_am_i_query::Variables {});
println!("executing query whoami with token {token}, registry = {registry:?}");
let response: who_am_i_query::ResponseData = execute_query(registry, token, &q)?;
println!("response: {:?}", response);
Ok(response.viewer.map(|viewer| viewer.username))
}

0 comments on commit 250c0fe

Please sign in to comment.