Update post_manually function to include path in content

This commit is contained in:
aprilthepink 2024-05-04 18:04:26 +02:00
parent d115bdda0f
commit 07337ffe2f

View file

@ -80,7 +80,7 @@ async fn post_manually(
sensitive: false, sensitive: false,
attributed_to: Url::parse(&data.local_user().await?.id).unwrap().into(), attributed_to: Url::parse(&data.local_user().await?.id).unwrap().into(),
to: vec![public()], to: vec![public()],
content: format!("Hello {}", creator.name), content: format!("{} {}", path.1, creator.name),
tag: vec![mention], tag: vec![mention],
in_reply_to: None, in_reply_to: None,
}; };