Merge remote-tracking branch 'upstream/main' into db-traits-refactor

This commit is contained in:
dull b 2023-07-03 18:02:53 +00:00
commit 8f46003ebc

View file

@ -48,7 +48,6 @@ where
Ok(
HttpResponse::Ok()
.content_type(FEDERATION_CONTENT_TYPE)
.content_type("application/activity+json")
.body(json),
)
}
@ -61,7 +60,6 @@ fn create_apub_tombstone_response<T: Into<Url>>(id: T) -> LemmyResult<HttpRespon
HttpResponse::Gone()
.content_type(FEDERATION_CONTENT_TYPE)
.status(StatusCode::GONE)
.content_type("application/activity+json")
.body(json),
)
}