diff --git a/crates/utils/src/error.rs b/crates/utils/src/error.rs index 076bc3141..53611b59c 100644 --- a/crates/utils/src/error.rs +++ b/crates/utils/src/error.rs @@ -160,7 +160,6 @@ pub enum LemmyErrorType { #[derive(Display, Debug, Serialize, Deserialize, Clone, PartialEq, Eq, EnumIter, Hash)] #[cfg_attr(feature = "full", derive(ts_rs::TS))] #[cfg_attr(feature = "full", ts(export))] -#[serde(tag = "error", content = "message", rename_all = "snake_case")] #[non_exhaustive] pub enum FederationError { // TODO: merge into a single NotFound error