Optimized Nested Comments for Mobile, Added IDs

This commit is contained in:
spikecodes 2020-12-20 20:52:15 -08:00
parent b596f86cc2
commit da971f8680
4 changed files with 17 additions and 5 deletions

View file

@ -164,6 +164,7 @@ async fn parse_comments(json: serde_json::Value) -> Result<Vec<Comment>, &'stati
};
comments.push(Comment {
id: val(comment, "id").await,
body: body,
author: val(comment, "author").await,
score: format_num(score),