diff --git a/src/routes/data/transformers.rs b/src/routes/data/transformers.rs index a79018e..6e91aae 100644 --- a/src/routes/data/transformers.rs +++ b/src/routes/data/transformers.rs @@ -42,10 +42,7 @@ impl From<(Option, storage::types::Locker)> for super::types::StoreCardResponse { fn from( - (duplication_check, value): ( - Option, - storage::types::Locker, - ), + (duplication_check, value): (Option, storage::types::Locker), ) -> Self { Self { status: types::Status::Ok, diff --git a/src/routes/data/types.rs b/src/routes/data/types.rs index d8e7093..8666d24 100644 --- a/src/routes/data/types.rs +++ b/src/routes/data/types.rs @@ -33,7 +33,7 @@ pub struct StoreCardRespPayload { #[serde(rename_all = "snake_case")] pub enum DataDuplicationCheck { Duplicated, - MetaDataChanged + MetaDataChanged, } #[derive(serde::Serialize, serde::Deserialize, Debug)]