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