Skip to content

Commit

Permalink
🐛 Bug/271 existsById commentId로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanvp committed Nov 4, 2023
1 parent 1e1534f commit 6c909f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@ else if (!findComment.getRecipe().equals(findRecipe))
findRecipe.updateComment(-1);
}

return commentRepository.existsById(recipeId) == false;
return commentRepository.existsById(commentId) == false;
}

@Transactional(readOnly = false)
Expand Down

0 comments on commit 6c909f3

Please sign in to comment.