mirror of
https://github.com/versia-pub/activitypub.git
synced 2025-12-06 06:38:20 +01:00
debug msg
This commit is contained in:
parent
92c9ad80b4
commit
bbb613f6de
|
|
@ -73,6 +73,10 @@ async fn follow_request(follow: super::objects::Follow) -> Result<()> {
|
||||||
}
|
}
|
||||||
let data = FEDERATION_CONFIG.get().unwrap();
|
let data = FEDERATION_CONFIG.get().unwrap();
|
||||||
let author = main_lysand_url_to_user_and_model(follow.author.into()).await?;
|
let author = main_lysand_url_to_user_and_model(follow.author.into()).await?;
|
||||||
|
println!(
|
||||||
|
"Followee URL: {}",
|
||||||
|
&follow.followee.to_string()
|
||||||
|
);
|
||||||
let followee = lysand_url_to_user_and_model(follow.followee.into()).await?;
|
let followee = lysand_url_to_user_and_model(follow.followee.into()).await?;
|
||||||
let serial_ap_author = serde_json::from_str::<crate::objects::person::Person>(
|
let serial_ap_author = serde_json::from_str::<crate::objects::person::Person>(
|
||||||
&(author.1.ap_json.clone()).unwrap(),
|
&(author.1.ap_json.clone()).unwrap(),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue