From b3e5fc39584f72f3fc053792732c54009d21e0c7 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Wed, 24 Jan 2024 09:10:22 -0500 Subject: [PATCH] Forgot to add skip_serializing_none to persondetailsres. --- 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))]