mirror of
https://github.com/versia-pub/activitypub.git
synced 2025-12-06 14:48:19 +01:00
what happens if i just
This commit is contained in:
parent
6f4451c3a9
commit
6fe3509718
|
|
@ -122,7 +122,7 @@ async fn federate_inbox(note: crate::entities::post::Model) -> anyhow::Result<()
|
||||||
let req_client = request_client();
|
let req_client = request_client();
|
||||||
for inbox in array {
|
for inbox in array {
|
||||||
let push = req_client.post(inbox.clone())
|
let push = req_client.post(inbox.clone())
|
||||||
.header("X-Signed-By", format!("instance {}", API_DOMAIN.to_string()))
|
.header("X-Signed-By", note.url.to_string())
|
||||||
.json(&json);
|
.json(&json);
|
||||||
warn!("{}", inbox.to_string());
|
warn!("{}", inbox.to_string());
|
||||||
tokio::spawn(push_to_inbox(push));
|
tokio::spawn(push_to_inbox(push));
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue