mirror of
https://github.com/versia-pub/activitypub.git
synced 2025-12-06 14:48:19 +01:00
fix: shitcode
This commit is contained in:
parent
29ba9a8b7a
commit
b278cd8a27
|
|
@ -36,8 +36,7 @@ async fn fetch_post(
|
||||||
Ok(HttpResponse::Ok()
|
Ok(HttpResponse::Ok()
|
||||||
.content_type(FEDERATION_CONTENT_TYPE)
|
.content_type(FEDERATION_CONTENT_TYPE)
|
||||||
.json(
|
.json(
|
||||||
post.into_json(&FEDERATION_CONFIG.get().unwrap().to_request_data())
|
crate::objects::post::Note::from_db(&post)
|
||||||
.await?,
|
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue