fixed example
This commit is contained in:
parent
d9fafa1db6
commit
bd8135e2ad
1 changed files with 2 additions and 2 deletions
|
|
@ -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!();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue