Skip to content

Commit

Permalink
fixes #343
Browse files Browse the repository at this point in the history
  • Loading branch information
mpetris committed Mar 24, 2024
1 parent 3e8e384 commit 78f4929
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,10 @@ public List<Comment> getComments(ProjectReference projectReference, String docum
comment.setUserId(issue.getAuthor().getId());
comment.setUsername(issue.getAuthor().getName()); // TODO: if we're using the public name it shouldn't be called 'username' on the Comment class
comment.setReplyCount(issue.getUserNotesCount());


// gson doesn't initialize transient fields, so we need to do it explicitly
comment.setReplies(new ArrayList<>());

comments.add(comment);
}

Expand Down

0 comments on commit 78f4929

Please sign in to comment.