From a1ac93d368c185cb041d372538a75f3b9d2a127d Mon Sep 17 00:00:00 2001 From: Dessalines Date: Wed, 6 Nov 2024 11:47:03 -0500 Subject: [PATCH] Fixing ts_option. --- 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 080b57319..59716702e 100644 --- a/crates/api_common/src/person.rs +++ b/crates/api_common/src/person.rs @@ -176,6 +176,7 @@ pub struct SaveUserSettings { #[cfg_attr(feature = "full", ts(optional))] pub show_upvote_percentage: Option, /// Whether to automatically mark fetched posts as read. + #[cfg_attr(feature = "full", ts(optional))] pub auto_mark_fetched_posts_as_read: Option, }