From f7d881ac78862e2d0171b5e84251de4f60bedf3a Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 27 Sep 2024 11:15:44 -0400 Subject: [PATCH] Adding skip_serializing_none to another OAuth API request. (#5060) --- crates/api_common/src/oauth_provider.rs | 1 + crates/db_schema/src/schema.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/api_common/src/oauth_provider.rs b/crates/api_common/src/oauth_provider.rs index 4719480cc..14847edf1 100644 --- a/crates/api_common/src/oauth_provider.rs +++ b/crates/api_common/src/oauth_provider.rs @@ -5,6 +5,7 @@ use serde_with::skip_serializing_none; use ts_rs::TS; use url::Url; +#[skip_serializing_none] #[derive(Debug, Serialize, Deserialize, Clone)] #[cfg_attr(feature = "full", derive(TS))] #[cfg_attr(feature = "full", ts(export))] diff --git a/crates/db_schema/src/schema.rs b/crates/db_schema/src/schema.rs index ab636c7d7..9617d9954 100644 --- a/crates/db_schema/src/schema.rs +++ b/crates/db_schema/src/schema.rs @@ -769,7 +769,7 @@ diesel::table! { featured_local -> Bool, url_content_type -> Nullable, alt_text -> Nullable, - scheduled_publish_time -> Nullable + scheduled_publish_time -> Nullable, } }