mirror of
https://github.com/versia-pub/activitypub.git
synced 2025-12-06 06:38:20 +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();
|
||||
for inbox in array {
|
||||
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);
|
||||
warn!("{}", inbox.to_string());
|
||||
tokio::spawn(push_to_inbox(push));
|
||||
|
|
|
|||
Loading…
Reference in a new issue