Skip to content

Commit

Permalink
fixed: langhsu#36
Browse files Browse the repository at this point in the history
  • Loading branch information
langhsu committed May 5, 2020
1 parent cf98318 commit 20fca49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public CommentComplementor flutBuildUser() {

public CommentComplementor flutBuildPost() {
Map<Long, PostVO> map = SpringUtils.getBean(PostService.class).findMapByIds(this.postIds);
comments.forEach(p -> p.setPost(map.get(p.getAuthorId())));
comments.forEach(p -> p.setPost(map.get(p.getPostId())));
return this;
}

Expand Down

0 comments on commit 20fca49

Please sign in to comment.