Skip to content

Commit f440fe4

Browse files
authored
fix: like컨버터 수정 (#114)
1 parent 014511b commit f440fe4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/com/tave/alarmissue/post/converter/PostLikeConverter.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ public PostLike toCommentLike(UserEntity user, PostComment postComment){
3232
comment(postComment).
3333
targetType(TargetType.COMMENT).
3434
liked(true).
35+
post(postComment.getPost()).
3536
build();
3637
}
3738
public PostLike toReplyLike(UserEntity user, PostReply postReply){
@@ -40,6 +41,7 @@ public PostLike toReplyLike(UserEntity user, PostReply postReply){
4041
postReply(postReply).
4142
targetType(TargetType.REPLY).
4243
liked(true).
44+
post(postReply.getPost()).
4345
build();
4446
}
4547
}

0 commit comments

Comments
 (0)