debug print authr

This commit is contained in:
April John 2025-02-03 13:39:29 +01:00
parent 3aec94e528
commit 375f4467b2

View file

@ -508,6 +508,7 @@ pub async fn receive_versia_note(
let id: ObjectId<post::Model> = let id: ObjectId<post::Model> =
generate_object_id(data.domain(), &note.id.to_string())?.into(); generate_object_id(data.domain(), &note.id.to_string())?.into();
let user_id = generate_user_id(data.domain(), &target.id.to_string())?; let user_id = generate_user_id(data.domain(), &target.id.to_string())?;
println!("{}", note.author.clone());
let user = fetch_user_from_url(note.author.clone()).await?; let user = fetch_user_from_url(note.author.clone()).await?;
let mut tag: Vec<Mention> = Vec::new(); let mut tag: Vec<Mention> = Vec::new();
for l_tag in note.mentions.clone().unwrap_or_default() { for l_tag in note.mentions.clone().unwrap_or_default() {