mirror of
https://github.com/versia-pub/activitypub.git
synced 2025-12-06 06:38:20 +01:00
debug print authr
This commit is contained in:
parent
3aec94e528
commit
375f4467b2
|
|
@ -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(), ¬e.id.to_string())?.into();
|
generate_object_id(data.domain(), ¬e.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() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue