fixed example

This commit is contained in:
Maieul BOYER 2026-02-08 18:23:27 +01:00
parent d9fafa1db6
commit bd8135e2ad
Signed by: maix
SSH key fingerprint: SHA256:iqCzqFFF5KjRixmDExqbAltCIj9ndlBWIGJf3t9Ln9g

View file

@ -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!();
}