From 2df21b9d831e52e0082b8b9d99202467730751ac Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 24 Oct 2023 17:26:09 -0400 Subject: [PATCH] Dont serialize karma. #3393 (#4089) --- crates/db_schema/src/aggregates/structs.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/db_schema/src/aggregates/structs.rs b/crates/db_schema/src/aggregates/structs.rs index 641ca3b3d..e01e6d984 100644 --- a/crates/db_schema/src/aggregates/structs.rs +++ b/crates/db_schema/src/aggregates/structs.rs @@ -71,8 +71,10 @@ pub struct PersonAggregates { pub id: i32, pub person_id: PersonId, pub post_count: i64, + #[serde(skip)] pub post_score: i64, pub comment_count: i64, + #[serde(skip)] pub comment_score: i64, }