Skip to content
Snippets Groups Projects
Commit 56a7d1fd authored by codecraft's avatar codecraft :crocodile:
Browse files

Remove the println! statement that annoyed me half to death

parent 13596bfd
No related branches found
No related tags found
1 merge request!1Initial feature merge
...@@ -58,7 +58,6 @@ fn post_hi_handler(request: Request, data: Data) -> Outcome<Response, Status, Da ...@@ -58,7 +58,6 @@ fn post_hi_handler(request: Request, data: Data) -> Outcome<Response, Status, Da
if data.is_empty() { if data.is_empty() {
return Outcome::Forward(data); return Outcome::Forward(data);
} }
println!("{:?}", request.get_post_data(&["message"], &data));
let dat = if let Ok(val) = request.get_post_data(&["message"], &data) { let dat = if let Ok(val) = request.get_post_data(&["message"], &data) {
post_hi(String::from_utf8_lossy(val.get("message").unwrap().as_ref().unwrap()).to_string()) post_hi(String::from_utf8_lossy(val.get("message").unwrap().as_ref().unwrap()).to_string())
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment