From 922ec7c2cd959bbca39e690d3c5471b4a6a8a286 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Wed, 24 Jan 2024 09:58:58 -0500 Subject: [PATCH] Forgot to add skip_serializing_none to persondetailsres. (#4399) --- crates/api_common/src/person.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/api_common/src/person.rs b/crates/api_common/src/person.rs index 8944a57cc..328674e1f 100644 --- a/crates/api_common/src/person.rs +++ b/crates/api_common/src/person.rs @@ -173,6 +173,7 @@ pub struct GetPersonDetails { pub saved_only: Option, } +#[skip_serializing_none] #[derive(Debug, Serialize, Deserialize, Clone)] #[cfg_attr(feature = "full", derive(TS))] #[cfg_attr(feature = "full", ts(export))]