relay: delint

This commit is contained in:
Astro 2023-05-15 01:18:38 +02:00
parent fc659b57a1
commit 56b174bd58

View file

@ -152,10 +152,10 @@ pub fn spawn(
let body = json!({
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Announce",
"actor": **&actor_id,
"actor": *actor_id,
"to": ["https://www.w3.org/ns/activitystreams#Public"],
"object": &post.uri,
"id": **&post_url,
"id": *post_url,
});
let body = Arc::new(
serde_json::to_vec(&body)