A little more chatty on the console
This commit is contained in:
parent
3baaf86132
commit
36bda1e89f
@ -55,7 +55,7 @@ async fn post_to_lemmy(
|
|||||||
)
|
)
|
||||||
.as_ref(),
|
.as_ref(),
|
||||||
)?;
|
)?;
|
||||||
println!("{}", title);
|
println!("Using title: {}", title);
|
||||||
|
|
||||||
let params = CreatePost {
|
let params = CreatePost {
|
||||||
community_id,
|
community_id,
|
||||||
@ -95,6 +95,7 @@ async fn get_latest_post(
|
|||||||
client: &Client,
|
client: &Client,
|
||||||
user: &Sensitive<String>,
|
user: &Sensitive<String>,
|
||||||
) -> Result<Option<Post>, Box<dyn std::error::Error>> {
|
) -> Result<Option<Post>, Box<dyn std::error::Error>> {
|
||||||
|
println!("Checking if already posted...");
|
||||||
let params = GetPersonDetails {
|
let params = GetPersonDetails {
|
||||||
username: Some(user.to_string()),
|
username: Some(user.to_string()),
|
||||||
sort: Some(SortType::New),
|
sort: Some(SortType::New),
|
||||||
|
Loading…
Reference in New Issue
Block a user