mirror of
https://github.com/astro/buzzrelay.git
synced 2024-11-22 04:00:59 +00:00
relay: delint
This commit is contained in:
parent
fc659b57a1
commit
56b174bd58
1 changed files with 2 additions and 2 deletions
|
@ -152,10 +152,10 @@ pub fn spawn(
|
||||||
let body = json!({
|
let body = json!({
|
||||||
"@context": "https://www.w3.org/ns/activitystreams",
|
"@context": "https://www.w3.org/ns/activitystreams",
|
||||||
"type": "Announce",
|
"type": "Announce",
|
||||||
"actor": **&actor_id,
|
"actor": *actor_id,
|
||||||
"to": ["https://www.w3.org/ns/activitystreams#Public"],
|
"to": ["https://www.w3.org/ns/activitystreams#Public"],
|
||||||
"object": &post.uri,
|
"object": &post.uri,
|
||||||
"id": **&post_url,
|
"id": *post_url,
|
||||||
});
|
});
|
||||||
let body = Arc::new(
|
let body = Arc::new(
|
||||||
serde_json::to_vec(&body)
|
serde_json::to_vec(&body)
|
||||||
|
|
Loading…
Reference in a new issue