Remove pointless local_user_id from LocalUserVoteDisplayMode (#4890)

- Fixes #4866
This commit is contained in:
Dessalines 2024-09-10 06:39:45 -04:00 committed by GitHub
parent 234f5c2060
commit c8ad0f2d09
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,