From 1bbc7a9008e3e19ed44c507fd9d1a41817e03418 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Tue, 17 Sep 2024 11:49:36 +0200 Subject: [PATCH] remove serde tag --- crates/utils/src/error.rs | 1 - 1 file changed, 1 deletion(-) 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