A little more chatty on the console

This commit is contained in:
prcrst 2024-03-08 09:29:12 +01:00
parent 3baaf86132
commit 36bda1e89f

View File

@ -55,7 +55,7 @@ async fn post_to_lemmy(
)
.as_ref(),
)?;
println!("{}", title);
println!("Using title: {}", title);
let params = CreatePost {
community_id,
@ -95,6 +95,7 @@ async fn get_latest_post(
client: &Client,
user: &Sensitive<String>,
) -> Result<Option<Post>, Box<dyn std::error::Error>> {
println!("Checking if already posted...");
let params = GetPersonDetails {
username: Some(user.to_string()),
sort: Some(SortType::New),