diff --git a/src/main.rs b/src/main.rs index c754050..ad7081e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -4,7 +4,7 @@ use json::{JsonValue, object}; use dotenv::dotenv; -async fn body_to_str<'a>(res: Response) -> String { +async fn body_to_str(res: Response) -> String { let body = hyper::body::to_bytes(res).await.unwrap(); let body_str = std::str::from_utf8(&body).unwrap().clone(); return body_str.to_string();