M src/routes/communities.rs => src/routes/communities.rs +2 -2
@@ 871,7 871,7 @@ async fn handler_communities_new_post_submit(
Some(lang.tr("post_new_missing_content_type", None).into_owned());
}
Some(mime) => {
- println!("will upload media");
+ log::debug!("will upload media");
let res = res_to_error(
ctx.http_client
.request(for_client(
@@ 906,7 906,7 @@ async fn handler_communities_new_post_submit(
}
}
- println!("finished media upload");
+ log::debug!("finished media upload");
}
}
}
M src/routes/mod.rs => src/routes/mod.rs +1 -1
@@ 665,7 665,7 @@ async fn handler_comment_submit_reply(
}
}
- println!("finished media upload");
+ log::debug!("finished media upload");
}
}
} else {
M src/routes/posts.rs => src/routes/posts.rs +1 -1
@@ 522,7 522,7 @@ async fn handler_post_submit_reply(
}
}
- println!("finished media upload");
+ log::debug!("finished media upload");
}
}
} else {