fixed functions were messages where not separated by space

This commit is contained in:
Alie 2024-01-21 17:27:30 +01:00
parent 8002bec7e0
commit c011b61e23
1 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ async fn main() -> DynResult<()> {
while let Err(err) = post( while let Err(err) = post(
&mastodon, &mastodon,
&format!( &format!(
"{}{}", "{} {}",
&config.errors.maintainers, &config.errors.out_of_images &config.errors.maintainers, &config.errors.out_of_images
), ),
Visibility::Direct, Visibility::Direct,
@ -115,7 +115,7 @@ async fn main() -> DynResult<()> {
log::error!("Cannot get next image: {}", err); log::error!("Cannot get next image: {}", err);
match post( match post(
&mastodon, &mastodon,
&format!("{}{}", &config.errors.maintainers, &err.to_string()), &format!("{} {}", &config.errors.maintainers, &err.to_string()),
Visibility::Direct, Visibility::Direct,
) )
.await .await