Dont serialize karma. #3393 (#4089)

This commit is contained in:
Dessalines 2023-10-24 17:26:09 -04:00 committed by GitHub
parent d55bd2f2bc
commit 2df21b9d83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,8 +71,10 @@ pub struct PersonAggregates {
pub id: i32, pub id: i32,
pub person_id: PersonId, pub person_id: PersonId,
pub post_count: i64, pub post_count: i64,
#[serde(skip)]
pub post_score: i64, pub post_score: i64,
pub comment_count: i64, pub comment_count: i64,
#[serde(skip)]
pub comment_score: i64, pub comment_score: i64,
} }