mirror of
https://github.com/redlib-org/redlib.git
synced 2025-05-14 05:52:53 +00:00
Optimized Nested Comments for Mobile, Added IDs
This commit is contained in:
parent
b596f86cc2
commit
da971f8680
4 changed files with 17 additions and 5 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue