Dont serialize karma. #3393 (#4089)

private_message_to_self_bug
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
1 changed files with 2 additions and 0 deletions

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