remove weird debug print

This commit is contained in:
Daniel Løvbrøtte Olsen 2020-03-30 23:48:40 +02:00
parent 55ef46e978
commit 80f24192ce

View File

@ -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())
} }