diff --git a/lemmy_apub/src/http/mod.rs b/lemmy_apub/src/http/mod.rs index 4f31f6a5e..44835bf89 100644 --- a/lemmy_apub/src/http/mod.rs +++ b/lemmy_apub/src/http/mod.rs @@ -5,6 +5,7 @@ use lemmy_structs::blocking; use lemmy_utils::{settings::Settings, LemmyError}; use lemmy_websocket::LemmyContext; use serde::{Deserialize, Serialize}; +use http::StatusCode; pub mod comment; pub mod community; @@ -28,6 +29,7 @@ where { HttpResponse::Gone() .content_type(APUB_JSON_CONTENT_TYPE) + .status(StatusCode::GONE) .json(data) }