Skip to content

Commit

Permalink
Merge pull request #3611 from obiba/fix/comment-circular-error
Browse files Browse the repository at this point in the history
comment dtos asDto calls itself
  • Loading branch information
kazoompa committed Nov 26, 2018
2 parents 591808e + ecaa537 commit b7719e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mica-core/src/main/java/org/obiba/mica/web/model/Dtos.java
Expand Up @@ -535,7 +535,7 @@ public Mica.CommentDto asDto(@NotNull Comment comment, boolean withPermissions)

@NotNull
public Mica.CommentDto asDto(@NotNull Comment comment) {
return asDto(comment);
return commentDtos.asDto(comment,true);
}

public List<Mica.CommentDto> asDtos(@NotNull List<Comment> comments) {
Expand Down

0 comments on commit b7719e0

Please sign in to comment.