remove weird debug print
This commit is contained in:
parent
55ef46e978
commit
80f24192ce
@ -41,9 +41,6 @@ fn version() -> &'static str {
|
|||||||
#[get("/get_jobs")]
|
#[get("/get_jobs")]
|
||||||
fn get_jobs(shared: State<SharedState>) -> Json<Value> {
|
fn get_jobs(shared: State<SharedState>) -> Json<Value> {
|
||||||
let list = shared.jobs.lock().unwrap().clone();
|
let list = shared.jobs.lock().unwrap().clone();
|
||||||
|
|
||||||
println!("{:#?}", list);
|
|
||||||
|
|
||||||
Json(serde_json::to_value(&list).unwrap())
|
Json(serde_json::to_value(&list).unwrap())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user