From c8ad0f2d0989494a9fea0a10a6c7051481863816 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 10 Sep 2024 06:39:45 -0400 Subject: [PATCH] Remove pointless local_user_id from LocalUserVoteDisplayMode (#4890) - Fixes #4866 --- crates/db_schema/src/source/local_user_vote_display_mode.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/db_schema/src/source/local_user_vote_display_mode.rs b/crates/db_schema/src/source/local_user_vote_display_mode.rs index 314d99e4a..8c6ad95eb 100644 --- a/crates/db_schema/src/source/local_user_vote_display_mode.rs +++ b/crates/db_schema/src/source/local_user_vote_display_mode.rs @@ -20,6 +20,7 @@ use typed_builder::TypedBuilder; #[cfg_attr(feature = "full", ts(export))] /// The vote display settings for your user. pub struct LocalUserVoteDisplayMode { + #[serde(skip)] pub local_user_id: LocalUserId, pub score: bool, pub upvotes: bool,