diff --git a/Cargo.lock b/Cargo.lock index 579fe2b..95d9c01 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -368,7 +368,7 @@ checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" [[package]] name = "bird-looking-glass-proxy" -version = "0.0.1" +version = "0.0.2" dependencies = [ "actix-web", "birdc", diff --git a/Cargo.toml b/Cargo.toml index 38d3a7e..67517a5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bird-looking-glass-proxy" -version = "0.0.1" +version = "0.0.2" edition = "2021" [dependencies] diff --git a/src/route/bird.rs b/src/route/bird.rs index 1af7661..0abb4ca 100644 --- a/src/route/bird.rs +++ b/src/route/bird.rs @@ -16,9 +16,6 @@ pub async fn bird(_param: web::Query, _req: HttpRequest, mode: i8) -> Res }); let mut connection = block_on(client.connect())?; let messages = block_on(connection.send_request(&_param.q))?; - for message in &messages { - println!("received message: {:?}", message); - } return Ok(messages.iter().map(|message |format!("{:?}",message)).collect::()); }