mirror of
https://github.com/versia-pub/activitypub.git
synced 2025-12-06 06:38:20 +01:00
fix: fix post printing
This commit is contained in:
parent
da40e5b5e6
commit
56b008fcae
|
|
@ -47,8 +47,6 @@ pub async fn main() -> anyhow::Result<()> {
|
||||||
for item in outbox.items {
|
for item in outbox.items {
|
||||||
let ap_item = super::conversion::receive_lysand_note(item, "https://ap.lysand.org/example".to_string()).await?;
|
let ap_item = super::conversion::receive_lysand_note(item, "https://ap.lysand.org/example".to_string()).await?;
|
||||||
println!("{:#?}", ap_item);
|
println!("{:#?}", ap_item);
|
||||||
let ap_json = serde_json::to_string_pretty(&SortAlphabetically(&ap_item))?;
|
|
||||||
println!("{}", ap_json);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue