Skip to content

Commit

Permalink
Merge pull request #63 from Team-Wable/fix/#62
Browse files Browse the repository at this point in the history
[FIX] 노티 관련 게시물 정제 로직 수정
  • Loading branch information
Hong0329 authored Nov 27, 2024
2 parents 83ba739 + 3eb492b commit 3901167
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ private long refineNotificationTriggerId (String triggerType, Long triggerId, No

// Comment comment = commentRepository.findCommentByIdOrThrow(triggerId);
//답글관련(답글좋아요 혹은 답글 작성, 답글 투명도)시 게시물 id 반환
if(triggerType.equals("comment") || triggerType.equals("commentLiked") || triggerType.equals("commentGhost")) {
if(triggerType.equals("comment") || triggerType.equals("commentLiked") || triggerType.equals("commentGhost")
|| triggerType.equals("childCommentLiked") || triggerType.equals("childComment")) {
Comment comment = commentRepository.findCommentByIdOrThrow(triggerId);
return comment.getContent().getId();
}else{
Expand Down

0 comments on commit 3901167

Please sign in to comment.