mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-10 06:54:12 +00:00
remove serde tag
This commit is contained in:
parent
6884dd295a
commit
1bbc7a9008
1 changed files with 0 additions and 1 deletions
|
@ -160,7 +160,6 @@ pub enum LemmyErrorType {
|
||||||
#[derive(Display, Debug, Serialize, Deserialize, Clone, PartialEq, Eq, EnumIter, Hash)]
|
#[derive(Display, Debug, Serialize, Deserialize, Clone, PartialEq, Eq, EnumIter, Hash)]
|
||||||
#[cfg_attr(feature = "full", derive(ts_rs::TS))]
|
#[cfg_attr(feature = "full", derive(ts_rs::TS))]
|
||||||
#[cfg_attr(feature = "full", ts(export))]
|
#[cfg_attr(feature = "full", ts(export))]
|
||||||
#[serde(tag = "error", content = "message", rename_all = "snake_case")]
|
|
||||||
#[non_exhaustive]
|
#[non_exhaustive]
|
||||||
pub enum FederationError {
|
pub enum FederationError {
|
||||||
// TODO: merge into a single NotFound error
|
// TODO: merge into a single NotFound error
|
||||||
|
|
Loading…
Reference in a new issue