Skip to content

Commit

Permalink
fix: replaced uuid with loginid
Browse files Browse the repository at this point in the history
  • Loading branch information
becooq81 committed Oct 2, 2023
1 parent fefbd25 commit 08c13bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public Comment createComment(CommentCreateValues values) {
Comment comment = new Comment(parent, values);
commentRepository.save(comment);
comment.getPost().addCommentCount();
if (parent == null) notificationService.createCommentNotification(values.getMember().getLoginID(), values.getPost().getMember().getUUID(), values.getPost().getId());
if (parent == null) notificationService.createCommentNotification(values.getMember().getLoginID(), values.getPost().getMember().getLoginID(), values.getPost().getId());
else notificationService.createRecommentNotification(values.getMember().getLoginID(), parent.getMember().getLoginID(), values.getPost().getId(), parent.getId());
return comment;
}
Expand Down

0 comments on commit 08c13bf

Please sign in to comment.