fix: shitcode

This commit is contained in:
aprilthepink 2024-06-27 05:55:43 +02:00
parent 29ba9a8b7a
commit b278cd8a27

View file

@ -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)
))
}