diff --git a/scraper/examples/get_user.rs b/scraper/examples/get_user.rs index 7dd6cfa..c1be41a 100644 --- a/scraper/examples/get_user.rs +++ b/scraper/examples/get_user.rs @@ -1,4 +1,4 @@ -use froxy_scrapper::{state::State, types::ClusterLocation}; +use froxy_scrapper::state::State; #[tokio::main(flavor = "current_thread")] async fn main() { @@ -7,7 +7,7 @@ async fn main() { let state = State::new(session); for a in std::env::args().skip(1) { - let res = state.getuser(&a).await.unwrap(); + let res = state.get_user(&a).await.unwrap(); serde_json::to_writer_pretty(&mut std::io::stdout(), &res).unwrap(); println!(); }