disable logger
This commit is contained in:
parent
cb2ac7c469
commit
f64b5963e9
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ use crate::utils::json_database::{save_to_json, PostData};
|
||||||
|
|
||||||
#[post("/set_presence")]
|
#[post("/set_presence")]
|
||||||
async fn set_presence(data: web::Json<PostData>) -> HttpResponse {
|
async fn set_presence(data: web::Json<PostData>) -> HttpResponse {
|
||||||
println!("{:?}", data);
|
// println!("{:?}", data);
|
||||||
let _ = save_to_json(&data);
|
let _ = save_to_json(&data);
|
||||||
HttpResponse::Ok().finish()
|
HttpResponse::Ok().finish()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue