debug msg

This commit is contained in:
aprilthepink 2024-08-03 08:31:21 +02:00
parent 92c9ad80b4
commit bbb613f6de

View file

@ -73,6 +73,10 @@ async fn follow_request(follow: super::objects::Follow) -> Result<()> {
}
let data = FEDERATION_CONFIG.get().unwrap();
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 serial_ap_author = serde_json::from_str::<crate::objects::person::Person>(
&(author.1.ap_json.clone()).unwrap(),